diff options
Diffstat (limited to 'Swift/QtUI/QtMainWindowFactory.cpp')
-rw-r--r-- | Swift/QtUI/QtMainWindowFactory.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Swift/QtUI/QtMainWindowFactory.cpp b/Swift/QtUI/QtMainWindowFactory.cpp index f58cca7..12e3532 100644 --- a/Swift/QtUI/QtMainWindowFactory.cpp +++ b/Swift/QtUI/QtMainWindowFactory.cpp @@ -15,9 +15,7 @@ QtMainWindowFactory::QtMainWindowFactory(QtTreeWidgetFactory *treeWidgetFactory) } MainWindow* QtMainWindowFactory::createMainWindow(UIEventStream* eventStream) { - if (!lastWindow_) { - lastWindow_ = new QtMainWindow(eventStream, treeWidgetFactory_); - } + lastWindow_ = new QtMainWindow(eventStream, treeWidgetFactory_); return lastWindow_; } |