[vlc-commits] Qt: TimeLabel: set element selector to stylesheet (fix #9466)
Francois Cartegnie
git at videolan.org
Mon Apr 14 11:40:28 CEST 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Apr 14 11:38:41 2014 +0200| [a837f658285567cb4b0e64e21d9c3823ddb9c47d] | committer: Francois Cartegnie
Qt: TimeLabel: set element selector to stylesheet (fix #9466)
Due to stylesheets inheritance, QTBUG-20027 happens on tooltip.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a837f658285567cb4b0e64e21d9c3823ddb9c47d
---
modules/gui/qt4/components/interface_widgets.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 263c72d..af27f44 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -760,7 +760,7 @@ TimeLabel::TimeLabel( intf_thread_t *_p_intf, TimeLabel::Display _displayType )
CONNECT( THEMIM->getIM(), positionUpdated( float, int64_t, int ),
this, setDisplayPosition( float, int64_t, int ) );
- setStyleSheet( "padding-left: 4px; padding-right: 4px;" );
+ setStyleSheet( "QLabel { padding-left: 4px; padding-right: 4px; }" );
}
void TimeLabel::setDisplayPosition( float pos, int64_t t, int length )
More information about the vlc-commits
mailing list