VirtualBox

Changeset 36682 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Apr 15, 2011 11:22:33 AM (14 years ago)
Author:
vboxsync
Message:

Main/Machine: fix formatting of progress description, and minor cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r36673 r36682  
    32273227                                      IProgress **aProgress)
    32283228{
     3229    CheckComArgStrNotEmptyOrNull(aType);
    32293230    Utf8Str strType(aType);
    32303231    Utf8Str strEnvironment(aEnvironment);
    3231 
    32323232    /* "emergencystop" doesn't need the session, so skip the checks/interface
    32333233     * retrieval. This code doesn't quite fit in here, but introducing a
     
    32363236    if (strType != "emergencystop")
    32373237        CheckComArgNotNull(aSession);
    3238     CheckComArgStrNotEmptyOrNull(aType);
    32393238    CheckComArgOutPointerValid(aProgress);
    32403239
     
    32773276        rc = progress->init(mParent,
    32783277                            static_cast<IMachine*>(this),
    3279                             BstrFmt(tr("Starting VM \"%s\" (%s)"), aType).raw(),
     3278                            BstrFmt(tr("Starting VM \"%s\" (%s)"), mUserData->s.strName.c_str(), strType.c_str()).raw(),
    32803279                            TRUE /* aCancelable */,
    32813280                            fTeleporterEnabled ? 20 : 10 /* uTotalOperationsWeight */,
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