Move .desktop file

This commit is contained in:
Chocobo1 2018-06-11 17:21:45 +08:00
parent 6203f23f06
commit 5d94db9c79
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
4 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ mode = developer
[qbittorrent.qbittorrentdesktop_master] [qbittorrent.qbittorrentdesktop_master]
source_file = src/icons/qBittorrent.desktop source_file = dist/unix/qbittorrent.desktop
source_lang = en source_lang = en
type = DESKTOP type = DESKTOP
minimum_perc = 23 minimum_perc = 23

View file

@ -31,7 +31,7 @@ if (Qt5Widgets_FOUND)
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor
FILES_MATCHING PATTERN "*.png") FILES_MATCHING PATTERN "*.png")
install(FILES ${qBittorrent_SOURCE_DIR}/src/icons/qbittorrent.desktop install(FILES qbittorrent.desktop
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/
COMPONENT data) COMPONENT data)

View file

@ -36,7 +36,7 @@ nogui:systemd {
# Menu Icon # Menu Icon
!nogui { !nogui {
menuicon.files = icons/qbittorrent.desktop menuicon.files = dist/unix/qbittorrent.desktop
menuicon.path = $$DATADIR/applications/ menuicon.path = $$DATADIR/applications/
INSTALLS += menuicon INSTALLS += menuicon