VirtualBox

Changeset 56020 in vbox for trunk/src


Ignore:
Timestamp:
May 21, 2015 7:09:35 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
100533
Message:

FE/Qt: 7791: Allow to show the machine-window for the separate UI case.

File:
1 edited

Legend:

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

    r55988 r56020  
    45664566bool VBoxGlobal::launchMachine(CMachine &machine, LaunchMode enmLaunchMode /* = LaunchMode_Default */)
    45674567{
     4568    /* Switch to machine window(s) if possible: */
     4569    if (   machine.GetSessionState() == KSessionState_Locked /* precondition for CanShowConsoleWindow() */
     4570        && machine.CanShowConsoleWindow())
     4571        return VBoxGlobal::switchToMachine(machine);
     4572
    45684573    if (enmLaunchMode != LaunchMode_Separate)
    45694574    {
    4570         /* Switch to machine window(s) if possible: */
    4571         if (   machine.GetSessionState() == KSessionState_Locked /* precondition for CanShowConsoleWindow() */
    4572             && machine.CanShowConsoleWindow())
    4573             return VBoxGlobal::switchToMachine(machine);
    4574 
    45754575        /* Make sure machine-state is one of required: */
    45764576        KMachineState state = machine.GetState(); NOREF(state);
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