Changeset 321b69870b1a193ba209f76b4aab3be24accdd2a

Show
Ignore:
Timestamp:
09/06/07 13:18:01 (1 year ago)
Author:
Jean-Baptiste Kempf <jb@videolan.org>
git-committer:
Jean-Baptiste Kempf <jb@videolan.org> 1189077481 +0000
git-parent:

[13343463a6b53ad5bf4adf8a09a76e416d5f3fd2]

git-author:
Jean-Baptiste Kempf <jb@videolan.org> 1189077481 +0000
Message:

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.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/qt4/main_interface.cpp

    r23503cc r321b698  
    625625void MainInterface::toggleMenus() 
    626626{ 
    627     if( menuBar()->isVisible() ) menuBar()->hide(); 
    628         else menuBar()->show(); 
    629     msg_Dbg( p_intf, "I was there: \\_o<~~ coin coin" ); 
     627    msg_Dbg( p_intf, "I HAS HERE, HIDING YOUR MENUZ: \\_o<~~ coin coin" ); 
     628    if( controls->isVisible() ) controls->hide(); 
     629    else controls->show(); 
     630    if( statusBar()->isVisible() ) statusBar()->hide(); 
     631    else statusBar()->show(); 
     632    updateGeometry(); 
    630633} 
    631634