vlc | branch: master | Prince Gupta <guptaprince8...@gmail.com> | Mon Dec 21 23:43:25 2020 +0530| [19d6772a9283b8a062394b20b587e06a65b67fea] | committer: Pierre Lamot
qml: remove colorSelected property from BannerTabButton Signed-off-by: Pierre Lamot <pie...@videolabs.io> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=19d6772a9283b8a062394b20b587e06a65b67fea --- modules/gui/qt/widgets/qml/BannerTabButton.qml | 3 +-- modules/gui/qt/widgets/qml/LocalTabBar.qml | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/gui/qt/widgets/qml/BannerTabButton.qml b/modules/gui/qt/widgets/qml/BannerTabButton.qml index a53e523aea..6688f1a8fd 100644 --- a/modules/gui/qt/widgets/qml/BannerTabButton.qml +++ b/modules/gui/qt/widgets/qml/BannerTabButton.qml @@ -28,7 +28,6 @@ T.TabButton { id: control property color color: VLCStyle.colors.banner - property color colorSelected: VLCStyle.colors.bg property bool showText: true text: model.displayText @@ -45,7 +44,7 @@ T.TabButton { height: control.height width: control.width color: (control.activeFocus || control.hovered) ? VLCStyle.colors.accent - : (control.selected ? control.colorSelected : control.color) + : control.color Behavior on color { ColorAnimation { duration: 128 diff --git a/modules/gui/qt/widgets/qml/LocalTabBar.qml b/modules/gui/qt/widgets/qml/LocalTabBar.qml index dce6b2f591..ac0eadfec0 100644 --- a/modules/gui/qt/widgets/qml/LocalTabBar.qml +++ b/modules/gui/qt/widgets/qml/LocalTabBar.qml @@ -33,7 +33,6 @@ NavigableRow { selected: model.name === row.currentView height: VLCStyle.localToolbar_height color: VLCStyle.colors.bg - colorSelected: VLCStyle.colors.bg onClicked: row.clicked(index) } } _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits