Commit 4a9aaa84 authored by François Cartegnie's avatar François Cartegnie 🤞

Qt: TimeLabel: Use valid constructor for QSize

parent 5d439424
......@@ -611,7 +611,7 @@ void TimeLabel::setDisplayPosition( float pos, int64_t t, int length )
// compute the minimum size that will be required for the psz_length
// and use it to enforce a minimal size to avoid "dancing" widgets
QSize minsize;
QSize minsize( 0, 0 );
if ( length > 0 )
{
QMargins margins = contentsMargins();
......
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