summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhushan Shah <bhush94@gmail.com>2016-08-28 14:27:27 (GMT)
committerBhushan Shah <bhush94@gmail.com>2016-08-28 15:11:26 (GMT)
commit0779aa8abcd32e3e34eed90fdaf97943aa33d23f (patch)
treeb1bbaf95db7a72eb78582927b44c30715d06fef4
parent51b2c49ae8594f390ec76b15c944982f663bc851 (diff)
setDesktopFileName for marble-maps
Summary: this way it can show icons set on wayland Reviewers: #marble, kossebau Reviewed By: #marble, kossebau Subscribers: kossebau Differential Revision: https://phabricator.kde.org/D2616
-rw-r--r--src/apps/marble-maps/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/apps/marble-maps/main.cpp b/src/apps/marble-maps/main.cpp
index cce612f..4d77661 100644
--- a/src/apps/marble-maps/main.cpp
+++ b/src/apps/marble-maps/main.cpp
@@ -31,6 +31,9 @@ int main(int argc, char ** argv)
app.setApplicationName( "Marble Maps" );
app.setOrganizationName( "KDE" );
app.setOrganizationDomain( "kde.org" );
+#if QT_VERSION >= 0x050700
+ app.setDesktopFileName(QStringLiteral("org.kde.marble.maps"));
+#endif
#ifdef Q_OS_ANDROID
MarbleGlobal::Profiles profiles = MarbleGlobal::SmallScreen | MarbleGlobal::HighResolution;