VirtualBox

Ignore:
Timestamp:
Nov 8, 2010 2:02:49 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt: Put progress-bar error-warning into prevent-auto-close guard block.

File:
1 edited

Legend:

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

    r33776 r33844  
    207207        vboxProblem().showModalProgressDialog(progress, machine.GetName(), mainMachineWindow());
    208208
    209     /* Allow further auto-closing: */
    210     if (uimachine()->machineLogic())
    211         uimachine()->machineLogic()->setPreventAutoClose(false);
    212 
    213209    /* Check for a progress failure: */
    214210    if (progress.GetResultCode() != 0)
     
    219215        return;
    220216    }
     217
     218    /* Allow further auto-closing: */
     219    if (uimachine()->machineLogic())
     220        uimachine()->machineLogic()->setPreventAutoClose(false);
    221221
    222222    /* Check if we missed a really quick termination after successful startup, and process it if we did: */
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