VirtualBox

Changeset 52469 in vbox for trunk/src


Ignore:
Timestamp:
Aug 22, 2014 11:58:21 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95684
Message:

FE/Qt: 7462: Runtime UI action-pool: Listen for menu-bar configuration changes at runtime.

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

Legend:

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

    r52467 r52469  
    13861386}
    13871387#endif /* VBOX_WITH_DEBUGGER_GUI */
     1388
     1389void UIActionPoolRuntime::sltHandleConfigurationChange()
     1390{
     1391    /* Update configuration: */
     1392    updateConfiguration();
     1393}
    13881394
    13891395void UIActionPoolRuntime::sltPrepareMenuViewScreen()
     
    15441550    /* Prepare connections: */
    15451551    connect(gShortcutPool, SIGNAL(sigMachineShortcutsReloaded()), this, SLOT(sltApplyShortcuts()));
     1552    connect(gEDataManager, SIGNAL(sigMenuBarConfigurationChange()), this, SLOT(sltHandleConfigurationChange()));
    15461553}
    15471554
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.h

    r52459 r52469  
    170170
    171171protected slots:
     172
     173    /** Handles configuration-change. */
     174    void sltHandleConfigurationChange();
    172175
    173176    /** Prepare 'View' : 'Virtual Screen #' menu routine (Normal, Scale). */
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