Commit 4a9aaa84 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: TimeLabel: Use valid constructor for QSize

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