Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(UI): rename qTox.desktopqtox.desktop to fix displaying icon
Browse files Browse the repository at this point in the history
Apparently qTox's icon is not displayed under Plasma Wayland session
when its desktop file name differs from the executable name.

Fixes #4323.
  • Loading branch information
zetok committed Apr 11, 2017
1 parent c472cdc commit 6de129f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmake/Installation.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if(APPLE)
else()
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION "bin")
install(FILES "res/qTox.appdata.xml" DESTINATION "share/appdata")
install(FILES "qTox.desktop" DESTINATION "share/applications")
install(FILES "qtox.desktop" DESTINATION "share/applications")

# Install application icons according to the XDG spec
set(ICON_SIZES 14 16 22 24 32 36 48 64 72 96 128 192 256 512)
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions qtox.pro
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ win32 {
DATADIR = $$PREFIX/share
target.path = $$BINDIR
desktop.path = $$DATADIR/applications
desktop.files += qTox.desktop
desktop.files += qtox.desktop
appdata.path = $$DATADIR/appdata
appdata.files += res/qTox.appdata.xml
INSTALLS += target desktop appdata
Expand Down Expand Up @@ -403,7 +403,7 @@ macx {
freebsd {
target.path = $$PREFIX/bin

desktop.files = qTox.desktop
desktop.files = qtox.desktop
desktop.path = $$PREFIX/share/applications

icon.files = img/qtox.png
Expand Down
2 changes: 1 addition & 1 deletion res/qTox.appdata.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyleft 2016 SkyzohKey <skyzohkey@framasphere.org> -->
<component type="desktop">
<id>qTox.desktop</id>
<id>qtox.desktop</id>
<metadata_license>CC-BY-SA-3.0</metadata_license>
<project_license>GPL-3.0</project_license>
<name>qTox</name>
Expand Down

0 comments on commit 6de129f

Please sign in to comment.