summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2016-08-28 16:14:38 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-08-28 16:14:38 (GMT)
commitee6ccd8fa2f1ca273269c1b4f02999ee716b0af6 (patch)
treecaa33024cb05e073ce0b3e7aa81f2d745ea35929
parent173cd3929007d49805009c053200ba8dbfc543ed (diff)
Use setDesktopFileName for marble-qt
-rw-r--r--src/apps/marble-qt/qtmain.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/apps/marble-qt/qtmain.cpp b/src/apps/marble-qt/qtmain.cpp
index eea61db..46c791c 100644
--- a/src/apps/marble-qt/qtmain.cpp
+++ b/src/apps/marble-qt/qtmain.cpp
@@ -87,7 +87,9 @@ int main(int argc, char *argv[])
app.setApplicationName( "Marble Virtual Globe" );
app.setOrganizationName( "KDE" );
app.setOrganizationDomain( "kde.org" );
- // Widget translation
+#if QT_VERSION >= 0x050700
+ app.setDesktopFileName(QStringLiteral("org.kde.marble-qt"));
+#endif
// Load Qt translation system catalog for libmarblewidget, the plugins and this app
loadTranslations(app);