VirtualBox

Changeset 52464 in vbox


Ignore:
Timestamp:
Aug 22, 2014 11:31:53 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95678
Message:

FE/Qt: 7462: Extra-data Manager: Notify listeners about menu-bar configuration changes at runtime.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/extradata
Files:
2 edited

Legend:

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

    r52461 r52464  
    34013401    {
    34023402        /* Status-bar configuration change: */
    3403         if (strKey == GUI_StatusBar_Enabled ||
    3404             strKey == GUI_RestrictedStatusBarIndicators ||
    3405             strKey == GUI_StatusBar_IndicatorOrder)
     3403        if (strKey == GUI_RestrictedRuntimeMenus ||
     3404#ifdef Q_WS_MAC
     3405            strKey == GUI_RestrictedRuntimeApplicationMenuActions ||
     3406#endif /* Q_WS_MAC */
     3407            strKey == GUI_RestrictedRuntimeMachineMenuActions ||
     3408            strKey == GUI_RestrictedRuntimeViewMenuActions ||
     3409            strKey == GUI_RestrictedRuntimeDevicesMenuActions ||
     3410#ifdef VBOX_WITH_DEBUGGER_GUI
     3411            strKey == GUI_RestrictedRuntimeDebuggerMenuActions ||
     3412#endif /* VBOX_WITH_DEBUGGER_GUI */
     3413            strKey == GUI_RestrictedRuntimeHelpMenuActions)
     3414            emit sigMenuBarConfigurationChange();
     3415        /* Status-bar configuration change: */
     3416        else if (strKey == GUI_StatusBar_Enabled ||
     3417                 strKey == GUI_RestrictedStatusBarIndicators ||
     3418                 strKey == GUI_StatusBar_IndicatorOrder)
    34063419            emit sigStatusBarConfigurationChange();
    34073420        /* HID LEDs sync state changed (allowed if not restricted)? */
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h

    r52462 r52464  
    6868    void sigRuntimeUIShortcutChange();
    6969
     70    /** Notifies about menu-bar configuration change. */
     71    void sigMenuBarConfigurationChange();
    7072    /** Notifies about status-bar configuration change. */
    7173    void sigStatusBarConfigurationChange();
Note: See TracChangeset for help on using the changeset viewer.

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