Skip to content

Commit

Permalink
#2976 fix: try to help Wayland finding the desktop icon
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed Mar 1, 2024
1 parent 502a364 commit 7934672
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# QOwnNotes Changelog

## 24.2.6
- try to fix an issue that the desktop icon is not shown under KDE Plasma 6 in Wayland
(for [#2976](https://github.com/pbek/QOwnNotes/issues/2976))

## 24.2.5
- fixed another crash, when someone enters a misplaced comment marker directly before
the closing mark of the code block, with the starting marker directly before that
Expand Down
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,8 @@ int main(int argc, char *argv[]) {
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
// Help Wayland to find the desktop file for the taskbar icon
QGuiApplication::setDesktopFileName(QStringLiteral("PBE.QOwnNotes"));

QString release = RELEASE;
bool portable = false;
Expand Down

0 comments on commit 7934672

Please sign in to comment.