summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 6ef0b0c3..f37720ff 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -462,13 +462,7 @@ MainWindow *Application::newMainWindow(bool withTab)
void Application::removeMainWindow(MainWindow *window)
{
m_mainWindows.removeOne(window);
-
- // QApplication should quit as soon we have no mainwindow
- // But QtWebkit seems to create windows without Qt::WA_QuitOnClose attribute,
- // making rekonq keep running after last window is closed
- if (m_mainWindows.length() == 0)
- QCoreApplication::quit();
-
+ kDebug() << "Removing Window from app window list...";
}