aboutsummaryrefslogtreecommitdiff
path: root/application/themes
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2021-04-04 21:19:49 +0200
committerPetr Mrázek <peterix@gmail.com>2021-04-04 21:19:49 +0200
commite5804b1279cd0588d9434f298675ccd89fe21fc8 (patch)
treeff4b4dc5b0125430172d890a9e55257137370a9e /application/themes
parent7246d8a77906d421de4eada95d90843b1b94326b (diff)
downloadPrismLauncher-e5804b1279cd0588d9434f298675ccd89fe21fc8.tar.gz
PrismLauncher-e5804b1279cd0588d9434f298675ccd89fe21fc8.tar.bz2
PrismLauncher-e5804b1279cd0588d9434f298675ccd89fe21fc8.zip
NOISSUE add some logging to the system theme determination logic
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;
}
}