Commit 3f4676f5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: do not resize if we were in fullscreen or maximized

parent 2b0370b5
...@@ -208,6 +208,7 @@ private slots: ...@@ -208,6 +208,7 @@ private slots:
void showBuffering( float ); void showBuffering( float );
void resizeStack( int w, int h ) { void resizeStack( int w, int h ) {
if( !isFullScreen() && !isMaximized() )
resize( size() - stackCentralW->size() + QSize( w, h ) ); resize( size() - stackCentralW->size() + QSize( w, h ) );
debug(); } 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