Skip to content

Commit

Permalink
Merge pull request #468 from lightbulbjim/wayland-appid
Browse files Browse the repository at this point in the history
Fix missing app ID and icon on Wayland.
  • Loading branch information
annejan authored Aug 28, 2019
2 parents 9a15ef3 + aba8c41 commit 1087ad7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1087ad7

Please sign in to comment.