diff --git a/.tx/config b/.tx/config index 42ffa6ffd..df73666fa 100644 --- a/.tx/config +++ b/.tx/config @@ -12,7 +12,7 @@ mode = developer [qbittorrent.qbittorrentdesktop_master] -source_file = src/icons/qBittorrent.desktop +source_file = dist/unix/qbittorrent.desktop source_lang = en type = DESKTOP minimum_perc = 23 diff --git a/dist/unix/CMakeLists.txt b/dist/unix/CMakeLists.txt index 654e1ce1c..edf0d9216 100644 --- a/dist/unix/CMakeLists.txt +++ b/dist/unix/CMakeLists.txt @@ -31,7 +31,7 @@ if (Qt5Widgets_FOUND) DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor FILES_MATCHING PATTERN "*.png") - install(FILES ${qBittorrent_SOURCE_DIR}/src/icons/qbittorrent.desktop + install(FILES qbittorrent.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/ COMPONENT data) diff --git a/src/icons/qbittorrent.desktop b/dist/unix/qbittorrent.desktop similarity index 100% rename from src/icons/qbittorrent.desktop rename to dist/unix/qbittorrent.desktop diff --git a/unixconf.pri b/unixconf.pri index 3d8a85b56..3bb51975f 100644 --- a/unixconf.pri +++ b/unixconf.pri @@ -36,7 +36,7 @@ nogui:systemd { # Menu Icon !nogui { - menuicon.files = icons/qbittorrent.desktop + menuicon.files = dist/unix/qbittorrent.desktop menuicon.path = $$DATADIR/applications/ INSTALLS += menuicon