Commit 86de3606 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Use !isVisible when needed ISO isHidden

parent 64a460aa
......@@ -127,7 +127,7 @@ void VideoWidget::SetSizing( unsigned int w, unsigned int h )
msg_Dbg( p_intf, "Video is resizing to: %i %i", w, h );
videoSize.rwidth() = w;
videoSize.rheight() = h;
if( isHidden() ) show();
if( !isVisible() ) show();
updateGeometry(); // Needed for deinterlace
}
......
......@@ -1129,7 +1129,7 @@ void MainInterface::customEvent( QEvent *event )
void MainInterface::keyPressEvent( QKeyEvent *e )
{
if( ( e->modifiers() & Qt::ControlModifier ) && ( e->key() == Qt::Key_H )
&& menuBar()->isHidden() )
&& !menuBar()->isVisible() )
{
toggleMinimalView( false );
e->accept();
......
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