DolphinQt: Check theme instead of system for when to apply dark title bars on Windows.

This commit is contained in:
Admiral H. Curtiss 2023-11-05 18:13:00 +01:00
parent ed6014ddb5
commit 2f9e98b77b
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB

View File

@ -14,7 +14,7 @@
void SetQWidgetWindowDecorations(QWidget* widget) void SetQWidgetWindowDecorations(QWidget* widget)
{ {
#ifdef _WIN32 #ifdef _WIN32
if (!Settings::Instance().IsSystemDark()) if (!Settings::Instance().IsThemeDark())
return; return;
BOOL use_dark_title_bar = TRUE; BOOL use_dark_title_bar = TRUE;