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
SDK
KCacheGrind
Commits
998f127e
Commit
998f127e
authored
Sep 17, 2020
by
Calvin Buckley
🤔
Browse files
Exit/quit semantics should close /all/ windows, not just the one
We have the close item for this now.
parent
498fa4cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
qcachegrind/qcgtoplevel.cpp
View file @
998f127e
...
...
@@ -378,7 +378,7 @@ void QCGTopLevel::createActions()
_exitAction
->
setMenuRole
(
QAction
::
QuitRole
);
_exitAction
->
setShortcut
(
tr
(
"Ctrl+Q"
));
_exitAction
->
setStatusTip
(
tr
(
"Exit the application"
));
connect
(
_exitAction
,
&
QAction
::
triggered
,
this
,
&
Q
Widget
::
close
);
connect
(
_exitAction
,
&
QAction
::
triggered
,
this
,
&
Q
Application
::
closeAllWindows
);
// view menu actions
...
...
Write
Preview
Supports
Markdown
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