Skip to content

Commit 5d94db9

Browse files
committed
Move .desktop file
1 parent 6203f23 commit 5d94db9

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

.tx/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ mode = developer
1212

1313

1414
[qbittorrent.qbittorrentdesktop_master]
15-
source_file = src/icons/qBittorrent.desktop
15+
source_file = dist/unix/qbittorrent.desktop
1616
source_lang = en
1717
type = DESKTOP
1818
minimum_perc = 23

dist/unix/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if (Qt5Widgets_FOUND)
3131
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor
3232
FILES_MATCHING PATTERN "*.png")
3333

34-
install(FILES ${qBittorrent_SOURCE_DIR}/src/icons/qbittorrent.desktop
34+
install(FILES qbittorrent.desktop
3535
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/
3636
COMPONENT data)
3737

unixconf.pri

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ nogui:systemd {
3636

3737
# Menu Icon
3838
!nogui {
39-
menuicon.files = icons/qbittorrent.desktop
39+
menuicon.files = dist/unix/qbittorrent.desktop
4040
menuicon.path = $$DATADIR/applications/
4141
INSTALLS += menuicon
4242

0 commit comments

Comments
 (0)