VirtualBox

Changeset 28987 in vbox


Ignore:
Timestamp:
May 3, 2010 4:08:47 PM (15 years ago)
Author:
vboxsync
Message:

FE/QT4: make sure the status bar info get cleared on several events

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp

    r28800 r28987  
    588588    mVMCtxtMenu->addAction (mVmShowLogsAction);
    589589
     590    /* Make sure every status bar hint from the context menu is cleared when
     591     * the menu is closed. */
     592    connect (mVMCtxtMenu, SIGNAL(aboutToHide()),
     593             statusBar(), SLOT(clearMessage()));
     594
    590595    mHelpMenu = menuBar()->addMenu (QString::null);
    591596    mHelpActions.addTo (mHelpMenu);
     
    12491254            break;
    12501255        }
    1251 
     1256        case QEvent::WindowDeactivate:
     1257        {
     1258            /* Make sure every status bar hint is cleared when the window lost
     1259             * focus. */
     1260            statusBar()->clearMessage();
     1261            break;
     1262        }
    12521263        default:
    12531264            break;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette