VirtualBox

Changeset 105520 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jul 26, 2024 11:33:15 AM (6 months ago)
Author:
vboxsync
Message:

FE/Qt: VirtualBox Manager: Fixing Cloud Machine Manager being initialized too late.

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

Legend:

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

    r105161 r105520  
    23892389
    23902390    /* Prepare: */
     2391    prepareCloudMachineManager();
    23912392    prepareIcon();
    23922393    prepareMenuBar();
    23932394    prepareStatusBar();
    23942395    prepareWidgets();
    2395     prepareCloudMachineManager();
    23962396    prepareConnections();
    23972397
     
    24202420        QMetaObject::invokeMethod(this, "sltHandleOpenUrlCall", Qt::QueuedConnection);
    24212421    QMetaObject::invokeMethod(this, "sltCheckUSBAccesibility", Qt::QueuedConnection);
     2422}
     2423
     2424void UIVirtualBoxManager::prepareCloudMachineManager()
     2425{
     2426    UICloudMachineManager::create();
    24222427}
    24232428
     
    24992504    if (m_pWidget)
    25002505        setCentralWidget(m_pWidget);
    2501 }
    2502 
    2503 void UIVirtualBoxManager::prepareCloudMachineManager()
    2504 {
    2505     UICloudMachineManager::create();
    25062506}
    25072507
     
    27542754}
    27552755
    2756 void UIVirtualBoxManager::cleanupCloudMachineManager()
    2757 {
    2758     UICloudMachineManager::destroy();
    2759 }
    2760 
    27612756void UIVirtualBoxManager::cleanupWidgets()
    27622757{
     
    27802775}
    27812776
     2777void UIVirtualBoxManager::cleanupCloudMachineManager()
     2778{
     2779    UICloudMachineManager::destroy();
     2780}
     2781
    27822782void UIVirtualBoxManager::cleanup()
    27832783{
     
    27862786
    27872787    /* Cleanup: */
    2788     cleanupCloudMachineManager();
    27892788    cleanupWidgets();
    27902789    cleanupMenuBar();
     2790    cleanupCloudMachineManager();
    27912791}
    27922792
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.h

    r105161 r105520  
    354354        /** Prepares window. */
    355355        void prepare();
     356        /** Prepares cloud machine manager. */
     357        void prepareCloudMachineManager();
    356358        /** Prepares icon. */
    357359        void prepareIcon();
     
    364366        /** Prepares widgets. */
    365367        void prepareWidgets();
    366         /** Prepares cloud machine manager. */
    367         void prepareCloudMachineManager();
    368368        /** Prepares connections. */
    369369        void prepareConnections();
     
    373373        /** Cleanups connections. */
    374374        void cleanupConnections();
    375         /** Cleanups cloud machine manager. */
    376         void cleanupCloudMachineManager();
    377375        /** Cleanups widgets. */
    378376        void cleanupWidgets();
    379377        /** Cleanups menu-bar. */
    380378        void cleanupMenuBar();
     379        /** Cleanups cloud machine manager. */
     380        void cleanupCloudMachineManager();
    381381        /** Cleanups window. */
    382382        void cleanup();
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