aboutsummaryrefslogtreecommitdiff
path: root/application/themes
diff options
context:
space:
mode:
Diffstat (limited to 'application/themes')
-rw-r--r--application/themes/SystemTheme.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/application/themes/SystemTheme.cpp b/application/themes/SystemTheme.cpp
index 00b2300d..49b1afaa 100644
--- a/application/themes/SystemTheme.cpp
+++ b/application/themes/SystemTheme.cpp
@@ -6,16 +6,19 @@
SystemTheme::SystemTheme()
{
+ qDebug() << "Determining System Theme...";
const auto & style = QApplication::style();
systemPalette = style->standardPalette();
QString lowerThemeName = style->objectName();
- qDebug() << systemTheme;
+ qDebug() << "System theme seems to be:" << lowerThemeName;
QStringList styles = QStyleFactory::keys();
for(auto &st: styles)
{
+ qDebug() << "Considering theme from theme factory:" << st.toLower();
if(st.toLower() == lowerThemeName)
{
systemTheme = st;
+ qDebug() << "System theme has been determined to be:" << systemTheme;
return;
}
}