summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/qt-init.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/qt-init.cpp b/core/qt-init.cpp
index b2d178e8e..bccb10472 100644
--- a/core/qt-init.cpp
+++ b/core/qt-init.cpp
@@ -23,6 +23,9 @@ void init_qt_late()
QCoreApplication::setOrganizationName("Subsurface");
QCoreApplication::setOrganizationDomain("subsurface.hohndel.org");
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)) && defined(Q_OS_LINUX)
+ QGuiApplication::setDesktopFileName("subsurface");
+#endif
// enable user specific settings (based on command line argument)
if (settings_suffix) {
if (verbose)