diff options
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/application.cpp b/src/application.cpp index 9fa0e322..efbfd60a 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -516,6 +516,10 @@ void Application::removeMainWindow(MainWindow *window) { m_mainWindows.removeOne(window); kDebug() << "Removing Window from app window list..."; + + // bye bye... + if (m_mainWindows.count() == 0) + quit(); } |