VirtualBox

Changeset 106074 in vbox


Ignore:
Timestamp:
Sep 17, 2024 4:46:47 PM (2 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10513: VM Settings / Display page: Adjust IDisplayAdapter error handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp

    r105864 r106074  
    11041104        fSuccess = m_machine.isOk() && comGraphics.isNotNull();
    11051105
     1106        /* Get machine ID for further activities: */
     1107        QUuid uMachineId;
     1108        if (fSuccess)
     1109        {
     1110            uMachineId = m_machine.GetId();
     1111            fSuccess = m_machine.isOk();
     1112        }
     1113
    11061114        /* Show error message if necessary: */
    11071115        if (!fSuccess)
     
    11351143            }
    11361144#endif
    1137             /* Get machine ID for further activities: */
    1138             QUuid uMachineId;
    1139             if (fSuccess)
    1140             {
    1141                 uMachineId = m_machine.GetId();
    1142                 fSuccess = m_machine.isOk();
    1143             }
    11441145
    11451146            /* Show error message if necessary: */
    11461147            if (!fSuccess)
    1147                 notifyOperationProgressError(UIErrorString::formatErrorInfo(m_machine));
     1148                notifyOperationProgressError(UIErrorString::formatErrorInfo(comGraphics));
    11481149
    11491150            /* Save guest-screen scale-factor: */
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