VirtualBox

Changeset 84464 in vbox for trunk/src


Ignore:
Timestamp:
May 22, 2020 3:07:02 PM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9653: Add and New Cloud VM wizards should handle progress canceling as dialog reject signal.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageBasic1.cpp

    r84417 r84464  
    310310            msgCenter().showModalProgressDialog(comProgress, QString(),
    311311                                                ":/progress_reading_appliance_90px.png", 0, 0);
     312            if (comProgress.GetCanceled())
     313            {
     314                wizardImp()->reject();
     315                break;
     316            }
    312317            if (!comProgress.isOk() || comProgress.GetResultCode() != 0)
    313318            {
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageBasic1.cpp

    r84327 r84464  
    327327            /* Show "Acquire cloud images" progress: */
    328328            msgCenter().showModalProgressDialog(comProgress, QString(), ":/progress_reading_appliance_90px.png", 0, 0);
     329            if (comProgress.GetCanceled())
     330            {
     331                wizardImp()->reject();
     332                break;
     333            }
    329334            if (!comProgress.isOk() || comProgress.GetResultCode() != 0)
    330335            {
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