diff --git a/CMakeLists.txt b/CMakeLists.txt index f8758e9e..68b9bdce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,7 @@ else() find_package(ECM 0.0.9 REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) + include(ECMInstallIcons) include(KDEInstallDirs) include(KDECMakeSettings) include(KDECompilerSettings) diff --git a/kstyle/config/CMakeLists.txt b/kstyle/config/CMakeLists.txt index 3ba7e405..da199575 100644 --- a/kstyle/config/CMakeLists.txt +++ b/kstyle/config/CMakeLists.txt @@ -49,4 +49,10 @@ if(KF5Service_FOUND AND NOT BREEZE_USE_KDE4) install(TARGETS breeze-settings5 ${INSTALL_TARGETS_DEFAULT_ARGS}) + # icon + message( "ICON_INSTALL_DIR: ${ICON_INSTALL_DIR}" ) + ecm_install_icons(ICONS sc-apps-breeze-settings.svgz + DESTINATION ${ICON_INSTALL_DIR} + THEME hicolor ) + endif() diff --git a/kstyle/config/main.cpp b/kstyle/config/main.cpp index ece2ba62..39412933 100644 --- a/kstyle/config/main.cpp +++ b/kstyle/config/main.cpp @@ -40,7 +40,7 @@ namespace Breeze { QApplication app( argc, argv ); app.setApplicationName( i18n( "Breeze Settings" ) ); - app.setWindowIcon( QIcon::fromTheme( QStringLiteral( "breeze" ) ) ); + app.setWindowIcon( QIcon::fromTheme( QStringLiteral( "breeze-settings" ) ) ); Breeze::ConfigDialog dialog; dialog.show(); bool result = app.exec(); diff --git a/kstyle/config/sc-apps-breeze-settings.svgz b/kstyle/config/sc-apps-breeze-settings.svgz new file mode 100644 index 00000000..d6dceddf Binary files /dev/null and b/kstyle/config/sc-apps-breeze-settings.svgz differ