[vlc-commits] [Git][videolan/vlc][master] qt: set `isDark` initially with system palette in `SystemPalette`

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Mar 31 17:29:36 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
d7d20f73 by Fatih Uzunoglu at 2025-03-31T17:15:57+00:00
qt: set `isDark` initially with system palette in `SystemPalette`

- - - - -


1 changed file:

- modules/gui/qt/style/systempalette.cpp


Changes:

=====================================
modules/gui/qt/style/systempalette.cpp
=====================================
@@ -889,6 +889,10 @@ void SystemPalette::makeSystemPalette()
         else
             makeLightPalette();
     }
+    else
+    {
+        m_isDark = palette->isThemeDark();
+    }
 
     m_palettePriv = std::move(palette);
 }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d7d20f73ed69b407a0931035dfaa9f909c24a650

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d7d20f73ed69b407a0931035dfaa9f909c24a650
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list