summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-06-13 13:58:26 +0200
committerMontel Laurent <[email protected]>2017-06-13 13:58:26 +0200
commit9b47218ec2e9fae81fa08098ef813c13b78986ab (patch)
treeced38744e55825aa14ac376776cef312b9a15be2
parentc5d6aac5a4e44d687daeafb4f79b217892a6d535 (diff)
Fix icon problem on wayland
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b6cb485..4fb1828 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -114,6 +114,7 @@ int main(int argc, char *argv[])
KLocalizedString::setApplicationDomain("kmail");
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kmail")));
+ app.setDesktopFileName(QStringLiteral("org.kde.kmail2"));
KCrash::initialize();
KMail::AboutData about;
app.setAboutData(about);