VirtualBox

Ignore:
Timestamp:
Apr 22, 2021 11:16:45 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
143962
Message:

FE/Qt: bugref:8161: A bit of rework for Runtime UI; Save first run wizard status and guest auto-resize state instantly instead of power off sequence.

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

Legend:

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

    r87023 r88648  
    20082008        }
    20092009    }
     2010
     2011    /* Save value to extra-data finally: */
     2012    gEDataManager->setGuestScreenAutoResizeEnabled(fEnabled, uiCommon().managedVMUuid());
    20102013}
    20112014
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp

    r88633 r88648  
    13141314#endif
    13151315
    1316         /* Is there should be First RUN Wizard? */
     1316        /* Should the First RUN wizard be here? */
    13171317        m_fIsFirstTimeStarted = gEDataManager->machineFirstTimeStarted(uMachineID);
     1318        /* Disable First RUN wizard for subsequent start anyway: */
     1319        if (m_fIsFirstTimeStarted)
     1320            gEDataManager->setMachineFirstTimeStarted(false, uMachineID);
    13181321
    13191322        /* Should guest autoresize? */
     
    13861389    /* Save extra-data settings: */
    13871390    {
    1388         /* Disable First RUN Wizard: */
    1389         gEDataManager->setMachineFirstTimeStarted(false, uiCommon().managedVMUuid());
    1390 
    1391         /* Remember if guest should autoresize: */
    1392         if (actionPool())
    1393         {
    1394             const QAction *pGuestAutoresizeSwitch = actionPool()->action(UIActionIndexRT_M_View_T_GuestAutoresize);
    1395             gEDataManager->setGuestScreenAutoResizeEnabled(pGuestAutoresizeSwitch->isChecked(), uiCommon().managedVMUuid());
    1396         }
    1397 
    13981391        /* Cleanup machine-window icon: */
    13991392        delete m_pMachineWindowIcon;
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