VirtualBox

Changeset 55750 in vbox


Ignore:
Timestamp:
May 8, 2015 10:23:10 AM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: Runtime UI: Protect take-snapshot progress-dialog modal-loop for the case of GUI shutdown.

File:
1 edited

Legend:

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

    r55724 r55750  
    14291429        {
    14301430            /* Show the take-snapshot progress: */
    1431             msgCenter().showModalProgressDialog(progress, machineName(), ":/progress_snapshot_create_90px.png");
     1431            const bool fStillValid = msgCenter().showModalProgressDialog(progress, machineName(), ":/progress_snapshot_create_90px.png");
     1432            if (!fStillValid)
     1433                return;
    14321434            if (!progress.isOk() || progress.GetResultCode() != 0)
    14331435                msgCenter().cannotTakeSnapshot(progress, machineName());
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