VirtualBox

Changeset 45272 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 1, 2013 1:02:58 PM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: Update to r84661.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r45271 r45272  
    17461746    /* Lock found machine to session: */
    17471747    machine.LockMachine(session, lockType);
     1748    if (!machine.isOk())
     1749    {
     1750        msgCenter().cannotOpenSession(machine);
     1751        session.detach();
     1752        return session;
     1753    }
     1754    else if (!mVBox.isOk())
     1755    {
     1756        msgCenter().cannotOpenSession(mVBox, machine);
     1757        session.detach();
     1758        return session;
     1759    }
    17481760
    17491761    /* Pass the language ID as the property to the guest: */
     
    17561768        QLocale lang(VBoxGlobal::languageId());
    17571769        startedMachine.SetGuestPropertyValue("/VirtualBox/HostInfo/GUI/LanguageID", lang.name());
    1758     }
    1759 
    1760     /* Show locking errors if any: */
    1761     if (!machine.isOk())
    1762     {
    1763         msgCenter().cannotOpenSession(machine);
    1764         session.detach();
    1765     }
    1766     else if (!mVBox.isOk())
    1767     {
    1768         msgCenter().cannotOpenSession(mVBox, machine);
    1769         session.detach();
    17701770    }
    17711771
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