Commit a837f658 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: TimeLabel: set element selector to stylesheet (fix #9466)

Due to stylesheets inheritance, QTBUG-20027 happens on tooltip.
parent 5900cada
......@@ -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 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment