Commit daae8e52 authored by Rémi Duraffort's avatar Rémi Duraffort

qt4: improve code readability.

parent f93eb575
......@@ -214,13 +214,19 @@ private slots:
void showBuffering( float );
void resizeStack( int w, int h ) {
void resizeStack( int w, int h )
{
if( !isFullScreen() && !isMaximized() )
if( b_minimalView ) resize( w, h ); /* Oh yes, it shouldn't
{
if( b_minimalView )
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(); }
else
resize( size() - stackCentralW->size() + QSize( w, h ) );
}
debug();
}
void setVideoSize( unsigned int, unsigned int );
void setVideoFullScreen( bool );
......
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