summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 0b9666a1..9c4507f0 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -192,11 +192,7 @@ void Application::slotSaveConfiguration() const
MainWindow *Application::mainWindow()
{
if(m_mainWindows.isEmpty())
- {
- kDebug() << "No extant windows: creating one new...";
- MainWindow *w = newMainWindow();
- return w;
- }
+ return 0;
MainWindow *active = qobject_cast<MainWindow*>(QApplication::activeWindow());