Commit d4297619 authored by Jakob Leben's avatar Jakob Leben

Qt: main interface, small fixes

parent 964d2459
......@@ -607,6 +607,7 @@ void MainInterface::releaseVideoSlot( void )
{
videoWidget->release();
if( stackCentralW->currentWidget() == videoWidget )
restoreStackOldWidget();
/* We don't want to have a blank video to popup */
......@@ -718,8 +719,9 @@ void MainInterface::dockPlaylist( bool p_docked )
playlistWidget->setWindowFlags( Qt::Widget ); // Probably a Qt bug here
// It would be logical that QStackWidget::addWidget reset the flags...
stackCentralW->addWidget( playlistWidget );
stackCentralW->setCurrentWidget( playlistWidget );
showTab( playlistWidget );
}
playlistVisible = true;
}
/*
......
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