VirtualBox

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


Ignore:
Timestamp:
Oct 20, 2021 1:02:11 PM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9996: Tiny cleanup for UIWizardExportApp.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportApp.cpp

    r91878 r91893  
    333333}
    334334
    335 bool UIWizardExportApp::createVsdLaunchForm()
    336 {
    337     /* Prepare result: */
    338     bool fResult = false;
    339 
     335void UIWizardExportApp::createVsdLaunchForm()
     336{
    340337    /* Acquire prepared client and description: */
    341338    CCloudClient comClient = cloudClient();
    342339    CVirtualSystemDescription comVSD = vsd();
    343     AssertReturn(comClient.isNotNull() && comVSD.isNotNull(), false);
     340    AssertReturnVoid(comClient.isNotNull() && comVSD.isNotNull());
    344341
    345342    /* Get Launch description form: */
     
    370367                    // Premature application shutdown,
    371368                    // exit immediately:
    372                     return fResult;
     369                    return;
    373370                }
    374371            }
     
    385382                /* Remember Virtual System Description Form: */
    386383                setVsdLaunchForm(comForm);
    387 
    388                 /* Finally, success: */
    389                 fResult = true;
    390384            }
    391385        }
    392386    }
    393 
    394     /* Return result: */
    395     return fResult;
    396387}
    397388
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportApp.h

    r91467 r91893  
    170170
    171171        /** Creates VSD Form. */
    172         bool createVsdLaunchForm();
     172        void createVsdLaunchForm();
    173173
    174174        /** Creates New Cloud VM. */
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