Changeset 14039 in vbox
- Timestamp:
- Nov 10, 2008 6:50:21 PM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox4/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxMediaManagerDlg.cpp
r13580 r14039 461 461 462 462 mSessionMachine = aSessionMachine; 463 if (aSessionMachine.isNull()) 464 { 465 mSessionMachineId = QUuid(); 466 mShowDiffs = true; 467 } 468 else 469 { 470 mSessionMachineId = aSessionMachine.GetId(); 471 mShowDiffs = aShowDiffs; 472 /* Suppress refresh when called from the settings UI which has just 473 * initiated a refresh on its own when opening the dialog */ 474 aRefresh = false; 475 } 463 mSessionMachineId = mSessionMachine.isNull() ? QUuid() : mSessionMachine.GetId(); 464 mShowDiffs = mSessionMachine.isNull() ? true : aShowDiffs; 476 465 477 466 switch (aType) -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsCD.cpp
r13580 r14039 257 257 258 258 dlg.setup (VBoxDefs::MediaType_DVD, true /* aDoSelect */, 259 true /* aRefresh */, mMachine, mCbIsoCD->id());259 false /* aRefresh */, mMachine, mCbIsoCD->id()); 260 260 261 261 QUuid newId = dlg.exec() == QDialog::Accepted ? -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsFD.cpp
r13580 r14039 253 253 254 254 dlg.setup (VBoxDefs::MediaType_Floppy, true /* aDoSelect */, 255 true /* aRefresh */, mMachine, mCbIsoFD->id());255 false /* aRefresh */, mMachine, mCbIsoFD->id()); 256 256 257 257 QUuid newId = dlg.exec() == QDialog::Accepted ?
Note:
See TracChangeset
for help on using the changeset viewer.