Commit 8ca53bfd authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Work-around a Qt issue when starting in minimal mode

Close #3573
How can the size of a widget be bigger than the size of its parent window? Really weird Qt bug
parent 083860bf
......@@ -209,7 +209,10 @@ private slots:
void resizeStack( int w, int h ) {
if( !isFullScreen() && !isMaximized() )
resize( size() - stackCentralW->size() + QSize( w, h ) );
if( i_visualmode == 1 ) resize( w, h ); /* Oh yes, it shouldn't
be possible that size() - stackCentralW->size() < 0
since stackCentralW is contained in the QMW... */
else resize( size() - stackCentralW->size() + QSize( w, h ) );
debug(); }
......
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