Changeset 38467 in vbox
- Timestamp:
- Aug 16, 2011 9:08:54 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 73518
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r38421 r38467 5667 5667 } 5668 5668 5669 bool VBoxGlobal::launchMachine(CMachine &machine )5669 bool VBoxGlobal::launchMachine(CMachine &machine, bool fHeadless /* = false */) 5670 5670 { 5671 5671 if (machine.CanShowConsoleWindow()) … … 5703 5703 env.append(QString("XAUTHORITY=%1\n").arg(xauth)); 5704 5704 #endif 5705 5706 CProgress progress = machine.LaunchVMProcess(session, "GUI/Qt", env); 5705 const QString strType = fHeadless ? "headless" : "GUI/Qt"; 5706 5707 CProgress progress = machine.LaunchVMProcess(session, strType, env); 5707 5708 if ( !vbox.isOk() 5708 5709 || progress.isNull()) -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.h
r38324 r38467 159 159 160 160 bool switchToMachine(CMachine &machine); 161 bool launchMachine(CMachine &machine );161 bool launchMachine(CMachine &machine, bool fHeadless = false); 162 162 163 163 bool isVMConsoleProcess() const { return !vmUuid.isNull(); } -
trunk/src/VBox/Frontends/VirtualBox/src/selector/VBoxSelectorWnd.cpp
r38372 r38467 830 830 831 831 CMachine machine = item->machine(); 832 vboxGlobal().launchMachine(machine );832 vboxGlobal().launchMachine(machine, qApp->keyboardModifiers() == Qt::ShiftModifier); 833 833 } 834 834
Note:
See TracChangeset
for help on using the changeset viewer.