Changeset 50869 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 25, 2014 5:19:16 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r50864 r50869 2157 2157 CMachine machine = constMachine; 2158 2158 KSessionState sessionState = machine.GetSessionState(); 2159 /* Session state unlocked? */ 2159 2160 if (sessionState == KSessionState_Unlocked) 2160 2161 { 2162 /* Open own 'write' session: */ 2161 2163 session = openSession(machine.GetId()); 2162 2164 AssertReturnVoid(!session.isNull()); 2163 2165 machine = session.GetMachine(); 2164 2166 } 2167 /* Is it Selector UI call? */ 2168 else if (!isVMConsoleProcess()) 2169 { 2170 /* Open existing 'shared' session: */ 2171 session = openExistingSession(machine.GetId()); 2172 AssertReturnVoid(!session.isNull()); 2173 machine = session.GetMachine(); 2174 } 2175 /* Else this is Runtime UI call 2176 * which has session locked for itself. */ 2165 2177 2166 2178 /* Remount medium to the predefined port/device: */
Note:
See TracChangeset
for help on using the changeset viewer.