- Timestamp:
- Aug 24, 2007 3:46:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSerialPortSettings.ui.h
r4354 r4359 83 83 mPort.SetIOBase (mIOPortLine->text().toULong (NULL, 0)); 84 84 85 mPort.SetHostMode (vboxGlobal().toPortMode (mHostModeCombo->currentText())); 86 mPort.SetServer (mServerCheck->isChecked()); 87 mPort.SetPath (QDir::convertSeparators (mPortPathLine->text())); 85 CEnums::PortMode mode = vboxGlobal().toPortMode (mHostModeCombo->currentText()); 86 mPort.SetHostMode (mode); 87 /* don't set unused properties */ 88 if (mode == CEnums::HostPipePort) 89 mPort.SetServer (mServerCheck->isChecked()); 90 if (mode != CEnums::DisconnectedPort) 91 mPort.SetPath (QDir::convertSeparators (mPortPathLine->text())); 88 92 } 89 93
Note:
See TracChangeset
for help on using the changeset viewer.