[vlc-devel] [PATCH 09/29] qml: don't set style sheet on obsolete object

Fatih Uzunoglu fuzun54 at outlook.com
Thu Apr 1 22:22:21 UTC 2021


---
 modules/gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/modules/gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml b/modules/gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml
index 05bc1167b7..f38705666a 100644
--- a/modules/gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml
+++ b/modules/gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml
@@ -505,15 +505,4 @@ Rectangle{
 
         velocity: VLCStyle.dp(150, VLCStyle.scale)
     }
-
-    /*
-      Match the QML theme to
-      native part. Using Qt Style Sheet to
-      set the theme.
-    */
-    Component.onCompleted: toolbareditor.setStyleSheet(
-                               "background-color:"+VLCStyle.colors.bg+
-                               ";color:"+VLCStyle.colors.buttonText+
-                               ";selection-background-color:"+
-                               VLCStyle.colors.bgHover);
 }
-- 
2.27.0



More information about the vlc-devel mailing list