diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-11-15 23:01:04 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:06 +0100 |
commit | b09d0bb34cf1284fb1665cecd1dc796701ea2c00 (patch) | |
tree | 30874d6c09a79155570f544048307260d0a5a076 /src | |
parent | Fix fullscreen action && shortcuts (diff) | |
download | rekonq-b09d0bb34cf1284fb1665cecd1dc796701ea2c00.tar.xz |
Fix close action when some web apps are running
Diffstat (limited to 'src')
-rw-r--r-- | src/application.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/application.cpp b/src/application.cpp index e8b63756..13cbc174 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -606,6 +606,12 @@ void Application::updateConfiguration() void Application::queryQuit() { + if (m_webApps.count() > 0) + { + tabWindow()->close(); + return; + } + if (tabWindowList().count() > 1) { int answer = KMessageBox::questionYesNoCancel( |