[vlc-commits] qml: don't set style sheet on obsolete object
Fatih Uzunoglu
git at videolan.org
Tue Apr 6 09:54:49 UTC 2021
vlc | branch: master | Fatih Uzunoglu <fuzun54 at 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 <pierre at 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);
}
More information about the vlc-commits
mailing list