diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2019-08-28 17:47:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-28 17:47:42 +0200 |
commit | 1087ad739c5c153956ef300f1fce0ce39ebec65c (patch) | |
tree | f758c29e0474b2d58b84a11dcbde359714b24f2a | |
parent | 9a15ef368868babe70c5f7afc962bcb00a8ba8b5 (diff) | |
parent | aba8c4180f0ab3d66c44f88b21f137b19d17bde8 (diff) |
Merge pull request #468 from lightbulbjim/wayland-appid
Fix missing app ID and icon on Wayland.
-rw-r--r-- | main/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index fefe570f..907aa9e2 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -92,6 +92,10 @@ int main(int argc, char *argv[]) { &MainWindow::messageAvailable); #endif +#if (QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)) + QGuiApplication::setDesktopFileName("qtpass.desktop"); +#endif + w.show(); return SingleApplication::exec(); |