Commit fca6d77d authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

differentiate between windows & unices for icons

unices have larger margins, as defined in breeze

BUG: 431724
parent 462754f0
......@@ -118,20 +118,26 @@ if(APPLE OR WIN32)
endif()
endif()
# we have different windows icons, less margins
set(ICONS_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/icons/unix)
if(WIN32)
set(ICONS_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/icons/windows)
endif()
# application icon, in all sizes needed to have e.g. nice Windows icons, too
set(ICON_FILES
${CMAKE_CURRENT_SOURCE_DIR}/icons/sc-apps-kate.svg
${CMAKE_CURRENT_SOURCE_DIR}/icons/16-apps-kate.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/22-apps-kate.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/32-apps-kate.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/44-apps-kate.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/48-apps-kate.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/64-apps-kate.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/128-apps-kate.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/150-apps-kate.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/256-apps-kate.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/310-apps-kate.png
${CMAKE_CURRENT_SOURCE_DIR}/icons/512-apps-kate.png
${ICONS_FOLDER}/sc-apps-kate.svg
${ICONS_FOLDER}/16-apps-kate.png
${ICONS_FOLDER}/22-apps-kate.png
${ICONS_FOLDER}/32-apps-kate.png
${ICONS_FOLDER}/44-apps-kate.png
${ICONS_FOLDER}/48-apps-kate.png
${ICONS_FOLDER}/64-apps-kate.png
${ICONS_FOLDER}/128-apps-kate.png
${ICONS_FOLDER}/150-apps-kate.png
${ICONS_FOLDER}/256-apps-kate.png
${ICONS_FOLDER}/310-apps-kate.png
${ICONS_FOLDER}/512-apps-kate.png
)
# Add icon files to the application's source files to have CMake bundle them in the executable.
......
......@@ -4,6 +4,6 @@
<file>kateui.rc</file>
</qresource>
<qresource prefix="/kate">
<file alias="kate.svg">../icons/sc-apps-kate.svg</file>
<file alias="kate.svg">../icons/unix/sc-apps-kate.svg</file>
</qresource>
</RCC>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment