From b09d0bb34cf1284fb1665cecd1dc796701ea2c00 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 15 Nov 2012 23:01:04 +0100 Subject: Fix close action when some web apps are running --- src/application.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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( -- cgit v1.2.1