summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(