1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(UI): rename qTox.desktopqtox.desktop to fix displaying icon

Apparently qTox's icon is not displayed under Plasma Wayland session
when its desktop file name differs from the executable name.

Fixes #4323.
This commit is contained in:
Zetok Zalbavar 2017-04-09 18:45:46 +01:00
parent c472cdcab5
commit 6de129fef1
No known key found for this signature in database
GPG Key ID: C953D3880212068A
4 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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
@ -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

View File

@ -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>