Changeset 36280 in vbox
- Timestamp:
- Mar 15, 2011 10:47:13 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 70558
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
r36249 r36280 213 213 gpcev->COMGETTER(Value)(value.asOutParam()); 214 214 Utf8Str utf8Value = value; 215 if (utf8Value == "true") 215 216 if (!mfNoLoggedInUsers) /* Only if the property really changes. */ 216 217 { 217 if (!mfNoLoggedInUsers) /* Only if the property really changes. */ 218 if ( utf8Value == "true" 219 /* Guest property got deleted due to hard reset, 220 * so it has no value anymore. */ 221 || utf8Value.isEmpty()) 218 222 { 219 223 mfNoLoggedInUsers = true; … … 221 225 } 222 226 } 227 else if (utf8Value == "false") 228 mfNoLoggedInUsers = false; 223 229 /* Guest property got deleted due to hard reset, 224 * so it has no value anymore. */ 230 * take the shortcut without touching the mfNoLoggedInUsers 231 * state. */ 225 232 else if (utf8Value.isEmpty()) 226 {227 233 fDropConnection = true; 228 }229 else230 {231 mfNoLoggedInUsers = false;232 }233 234 234 235 if (fDropConnection)
Note:
See TracChangeset
for help on using the changeset viewer.