[vlc-commits] [Git][videolan/vlc][master] qt: adjust window color according to the theme

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Sep 9 11:21:34 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
28e2f459 by Fatih Uzunoglu at 2022-09-09T10:59:12+00:00
qt: adjust window color according to the theme

- - - - -


1 changed file:

- modules/gui/qt/maininterface/qml/MainInterface.qml


Changes:

=====================================
modules/gui/qt/maininterface/qml/MainInterface.qml
=====================================
@@ -51,6 +51,15 @@ Item {
         value: root.height
     }
 
+    BindingCompat {
+        target: root.Window.window
+        property: "color"
+        value: VLCStyle.colors.bg
+        when: root.Window.window &&
+              !Qt.colorEqual(root.Window.window.color,
+                             "transparent")
+    }
+
     Widgets.ToolTipExt {
         id: attachedToolTip
 



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/28e2f45929eb9f8ccb2d86f44cbc66fa3abc14d0
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