Commit 321b6987 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Main Interface: hiding menus does hide the controls and the statusBar....

Qt4 - Main Interface: hiding menus does hide the controls and the statusBar. Still a lot of problems with that code, but at least it can be reverted.

parent 13343463
......@@ -624,9 +624,12 @@ void MainInterface::visual()
void MainInterface::toggleMenus()
{
if( menuBar()->isVisible() ) menuBar()->hide();
else menuBar()->show();
msg_Dbg( p_intf, "I was there: \\_o<~~ coin coin" );
msg_Dbg( p_intf, "I HAS HERE, HIDING YOUR MENUZ: \\_o<~~ coin coin" );
if( controls->isVisible() ) controls->hide();
else controls->show();
if( statusBar()->isVisible() ) statusBar()->hide();
else statusBar()->show();
updateGeometry();
}
/* Video widget cannot do this synchronously as it runs in another thread */
......
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