Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Konsole
Manage
Activity
Members
Labels
Plan
Issues
8
Issue boards
Milestones
Wiki
Bugzilla
Code
Merge requests
28
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Utilities
Konsole
Commits
66c0ddf7
Commit
66c0ddf7
authored
12 years ago
by
Jekyll Wu
Browse files
Options
Downloads
Patches
Plain Diff
Ensure the confirmation dialog for closing window is visible to users
BUG: 163677 FIXED-IN: 4.8.3 (cherry picked from commit
cf5ccf5f
)
parent
fe726be5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/MainWindow.cpp
+6
-0
6 additions, 0 deletions
src/MainWindow.cpp
with
6 additions
and
0 deletions
src/MainWindow.cpp
+
6
−
0
View file @
66c0ddf7
...
...
@@ -413,6 +413,12 @@ bool MainWindow::queryClose()
_viewManager
->
viewProperties
().
count
()
<
2
)
return
true
;
// make sure the window is shown on current desktop and is not minimized
KWindowSystem
::
setOnDesktop
(
winId
(),
KWindowSystem
::
currentDesktop
());
if
(
isMinimized
()
)
{
KWindowSystem
::
unminimizeWindow
(
winId
(),
true
);
}
int
result
=
KMessageBox
::
warningYesNoCancel
(
this
,
i18n
(
"You have multiple tabs in this window, "
"are you sure you want to quit?"
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment