fix System theme colors on windows
Signed-off-by: Tayou <tayou@gmx.net>
This commit is contained in:
parent
42ceaa0015
commit
3c937532f2
@ -43,7 +43,7 @@ SystemTheme::SystemTheme()
|
|||||||
{
|
{
|
||||||
themeDebugLog() << "Determining System Theme...";
|
themeDebugLog() << "Determining System Theme...";
|
||||||
const auto& style = QApplication::style();
|
const auto& style = QApplication::style();
|
||||||
systemPalette = style->standardPalette();
|
systemPalette = QApplication::palette();
|
||||||
QString lowerThemeName = style->objectName();
|
QString lowerThemeName = style->objectName();
|
||||||
themeDebugLog() << "System theme seems to be:" << lowerThemeName;
|
themeDebugLog() << "System theme seems to be:" << lowerThemeName;
|
||||||
QStringList styles = QStyleFactory::keys();
|
QStringList styles = QStyleFactory::keys();
|
||||||
|
Loading…
Reference in New Issue
Block a user