Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
466b64cf
Commit
466b64cf
authored
May 26, 2010
by
Sebastian Eichelbaum
Browse files
[FIX] - spelling
parent
7a774c97
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/gui/qt4/WMainWindow.cpp
src/gui/qt4/WMainWindow.cpp
+1
-1
No files found.
src/gui/qt4/WMainWindow.cpp
View file @
466b64cf
...
@@ -118,7 +118,7 @@ void WMainWindow::setupGUI()
...
@@ -118,7 +118,7 @@ void WMainWindow::setupGUI()
//fileMenu->addAction( m_iconManager.getIcon( "quit" ), "Quit", this, SLOT( close() ), QKeySequence( QKeySequence::Quit ) );
//fileMenu->addAction( m_iconManager.getIcon( "quit" ), "Quit", this, SLOT( close() ), QKeySequence( QKeySequence::Quit ) );
fileMenu
->
addAction
(
m_iconManager
.
getIcon
(
"quit"
),
"Quit"
,
this
,
SLOT
(
close
()
),
QKeySequence
(
Qt
::
CTRL
+
Qt
::
Key_Q
)
);
fileMenu
->
addAction
(
m_iconManager
.
getIcon
(
"quit"
),
"Quit"
,
this
,
SLOT
(
close
()
),
QKeySequence
(
Qt
::
CTRL
+
Qt
::
Key_Q
)
);
// This QAction stuff is quite ugly and complicated some times ...
t
here is no nice constructor which takes name, slot keysequence and so on
// This QAction stuff is quite ugly and complicated some times ...
T
here is no nice constructor which takes name, slot keysequence and so on
// directly -> set shortcuts, and some further properties using QAction's interface
// directly -> set shortcuts, and some further properties using QAction's interface
QMenu
*
viewMenu
=
m_menuBar
->
addMenu
(
"View"
);
QMenu
*
viewMenu
=
m_menuBar
->
addMenu
(
"View"
);
...
...
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