summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-11-15 23:01:04 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:06 +0100
commitb09d0bb34cf1284fb1665cecd1dc796701ea2c00 (patch)
tree30874d6c09a79155570f544048307260d0a5a076
parentFix fullscreen action && shortcuts (diff)
downloadrekonq-b09d0bb34cf1284fb1665cecd1dc796701ea2c00.tar.xz
Fix close action when some web apps are running
-rw-r--r--src/application.cpp6
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(