Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
02a157f5
Commit
02a157f5
authored
Jul 22, 2009
by
Norwegian Rock Cat
Browse files
Kill the slash.
If we are going to be uncertain, then let's try to be somewhat better stylistically about it.
parent
f11185be
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/mainwindow.cpp
View file @
02a157f5
...
...
@@ -557,14 +557,14 @@ void MainWindow::registerDefaultActions()
connect
(
m_focusToEditor
,
SIGNAL
(
activated
()),
this
,
SLOT
(
setFocusToEditor
()));
// New File Action
m_newAction
=
new
QAction
(
QIcon
(
Constants
::
ICON_NEWFILE
),
tr
(
"&New File
/
Project..."
),
this
);
m_newAction
=
new
QAction
(
QIcon
(
Constants
::
ICON_NEWFILE
),
tr
(
"&New File
or
Project..."
),
this
);
cmd
=
am
->
registerAction
(
m_newAction
,
Constants
::
NEW
,
m_globalContext
);
cmd
->
setDefaultKeySequence
(
QKeySequence
::
New
);
mfile
->
addAction
(
cmd
,
Constants
::
G_FILE_NEW
);
connect
(
m_newAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
newFile
()));
// Open Action
m_openAction
=
new
QAction
(
QIcon
(
Constants
::
ICON_OPENFILE
),
tr
(
"&Open File
/
Project..."
),
this
);
m_openAction
=
new
QAction
(
QIcon
(
Constants
::
ICON_OPENFILE
),
tr
(
"&Open File
or
Project..."
),
this
);
cmd
=
am
->
registerAction
(
m_openAction
,
Constants
::
OPEN
,
m_globalContext
);
cmd
->
setDefaultKeySequence
(
QKeySequence
::
Open
);
mfile
->
addAction
(
cmd
,
Constants
::
G_FILE_OPEN
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment