This commit is contained in:
Martin Rotter 2024-03-25 09:20:17 +01:00
parent 80d3783701
commit 1e7f2e24d1

View File

@ -242,7 +242,6 @@
#define APP_SKIN_USER_FOLDER "skins" #define APP_SKIN_USER_FOLDER "skins"
#define APP_SKIN_DEFAULT "nudus-light" #define APP_SKIN_DEFAULT "nudus-light"
#define APP_SKIN_METADATA_FILE "metadata.xml" #define APP_SKIN_METADATA_FILE "metadata.xml"
#define APP_STYLE_DEFAULT "Fusion"
// #if defined(Q_OS_UNIX) && !defined(Q_OS_MACOS) && !defined(FORCE_BUNDLE_ICONS) // #if defined(Q_OS_UNIX) && !defined(Q_OS_MACOS) && !defined(FORCE_BUNDLE_ICONS)
// #define APP_ICON_THEME_DEFAULT "" // #define APP_ICON_THEME_DEFAULT ""
@ -250,11 +249,20 @@
// #define APP_ICON_THEME_DEFAULT "Breeze" // #define APP_ICON_THEME_DEFAULT "Breeze"
// #endif // #endif
#if defined(Q_OS_WIN)
#define APP_STYLE_DEFAULT "windowsvista"
#elif defined(Q_OS_UNIX) && !defined(Q_OS_MACOS)
// Do not force default style on Linux.
#define APP_STYLE_DEFAULT ""
#else
#define APP_STYLE_DEFAULT "Fusion"
#endif
#if defined(FORCE_BUNDLE_ICONS) #if defined(FORCE_BUNDLE_ICONS)
// Forcibly bundle icons. // Forcibly bundle icons.
#define APP_ICON_THEME_DEFAULT "Breeze" #define APP_ICON_THEME_DEFAULT "Breeze"
#elif defined(Q_OS_UNIX) && !defined(Q_OS_MACOS) #elif defined(Q_OS_UNIX) && !defined(Q_OS_MACOS)
// Do not force default theme on Linux. // Do not force default icon theme on Linux.
#define APP_ICON_THEME_DEFAULT "" #define APP_ICON_THEME_DEFAULT ""
#else #else
// Use some default theme otherwise. // Use some default theme otherwise.