mirror of
https://github.com/vicr123/the-libs.git
synced 2025-01-22 10:22:03 -05:00
Fix build
This commit is contained in:
parent
63d67dda50
commit
6e14b43261
1 changed files with 1 additions and 1 deletions
|
@ -47,9 +47,9 @@ void tStyleManager::updateStyle() {
|
|||
QPalette pal = QApplication::palette();
|
||||
|
||||
//Get the accent colour
|
||||
QColor accentCol;
|
||||
#ifdef Q_OS_WIN
|
||||
QSettings accentDetection("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\DWM", QSettings::NativeFormat);
|
||||
QColor accentCol;
|
||||
if (accentDetection.contains("ColorizationColor")) {
|
||||
accentCol = QColor::fromRgb(QRgb(accentDetection.value("ColorizationColor").toInt() & 0x00FFFFFF));
|
||||
if (d->currentStyle == ContemporaryLight) {
|
||||
|
|
Loading…
Reference in a new issue