aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-desktop-helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-desktop-helper.cpp')
-rw-r--r--subsurface-desktop-helper.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/subsurface-desktop-helper.cpp b/subsurface-desktop-helper.cpp
index 8356b9fe8..924352c16 100644
--- a/subsurface-desktop-helper.cpp
+++ b/subsurface-desktop-helper.cpp
@@ -33,10 +33,7 @@ void init_ui()
PluginManager::instance().loadPlugins();
window = new MainWindow();
- if (existing_filename && existing_filename[0] != '\0')
- window->setTitle(MWTF_FILENAME);
- else
- window->setTitle(MWTF_DEFAULT);
+ window->setTitle();
}
void run_ui()