Changeset 1430 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 12, 2007 5:05:35 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp
r1381 r1430 2212 2212 int argc = qApp->argc(); 2213 2213 int i = 1; 2214 QUuid uuid; 2214 2215 while ( i < argc ) { 2215 2216 const char *arg = qApp->argv()[i]; … … 2217 2218 if ( ++i < argc ) { 2218 2219 QString param = QString (qApp->argv()[i]); 2219 QUuiduuid = QUuid (param);2220 uuid = QUuid (param); 2220 2221 if (!uuid.isNull()) { 2221 2222 vmUuid = uuid; 2222 2223 } else { 2224 if ( i + 1 < argc ) { 2225 QString param = QString (qApp->argv()[i + 1]); 2226 uuid = QUuid (param); 2227 if (!uuid.isNull()) { 2228 vmUuid = uuid; 2229 ++i; 2230 } 2231 } 2232 } 2233 if (uuid.isNull()) { 2223 2234 CMachine m = vbox.FindMachine (param); 2224 2235 if (m.isNull()) {
Note:
See TracChangeset
for help on using the changeset viewer.