Skip to content

Commit

Permalink
Fix regression that broke installing desktop file
Browse files Browse the repository at this point in the history
In commit 5d94db9 the desktop file was
moved from src/ to dist/ but the relative path from src/src.pro was
switched to an absolute path from the repository root. This broke
detection of the file from within qmake.

Fix by using the same $DIST_PATH used elsewhere for consistency, which
uses ../dist/.
  • Loading branch information
eli-schwartz authored and sledgehammer999 committed Aug 17, 2018
1 parent d1ebbcb commit 916a92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unixconf.pri
Expand Up @@ -36,7 +36,7 @@ nogui:systemd {

# Menu Icon
!nogui {
menuicon.files = dist/unix/qbittorrent.desktop
menuicon.files = $$DIST_PATH/qbittorrent.desktop
menuicon.path = $$DATADIR/applications/
INSTALLS += menuicon

Expand Down

0 comments on commit 916a92a

Please sign in to comment.