vlc | branch: master | Fatih Uzunoglu <fuzu...@outlook.com> | Fri Apr  2 
01:22:21 2021 +0300| [df7084a169428b9def8d97708da85130510d9aef] | committer: 
Pierre Lamot

qml: don't set style sheet on obsolete object

Signed-off-by: Pierre Lamot <pie...@videolabs.io>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df7084a169428b9def8d97708da85130510d9aef
---

 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);
 }

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to