VirtualBox

Ignore:
Timestamp:
Aug 4, 2017 4:15:21 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8900: Selector UI: Save/restore Machine/Global tools order/layout at exit/startup.

File:
1 edited

Legend:

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

    r68230 r68304  
    7676}
    7777
     78QList<ToolTypeMachine> UIToolsToolbar::tabOrderMachine() const
     79{
     80    QList<ToolTypeMachine> list;
     81    foreach (const QUuid &uuid, m_pTabBarMachine->tabOrder())
     82        list << m_mapTabIdsMachine.key(uuid);
     83    return list;
     84}
     85
     86QList<ToolTypeGlobal> UIToolsToolbar::tabOrderGlobal() const
     87{
     88    QList<ToolTypeGlobal> list;
     89    foreach (const QUuid &uuid, m_pTabBarGlobal->tabOrder())
     90        list << m_mapTabIdsGlobal.key(uuid);
     91    return list;
     92}
     93
    7894void UIToolsToolbar::sltHandleOpenToolMachine()
    7995{
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