- Timestamp:
- May 21, 2015 7:09:35 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 100533
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r55988 r56020 4566 4566 bool VBoxGlobal::launchMachine(CMachine &machine, LaunchMode enmLaunchMode /* = LaunchMode_Default */) 4567 4567 { 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 4568 4573 if (enmLaunchMode != LaunchMode_Separate) 4569 4574 { 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 4575 4575 /* Make sure machine-state is one of required: */ 4576 4576 KMachineState state = machine.GetState(); NOREF(state);
Note:
See TracChangeset
for help on using the changeset viewer.