VirtualBox

Changeset 14039 in vbox


Ignore:
Timestamp:
Nov 10, 2008 6:50:21 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4: 3305: FE/Qt4: No ISOs in virtual media manager: should be fixed now.

Location:
trunk/src/VBox/Frontends/VirtualBox4/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxMediaManagerDlg.cpp

    r13580 r14039  
    461461
    462462    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;
    476465
    477466    switch (aType)
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsCD.cpp

    r13580 r14039  
    257257
    258258    dlg.setup (VBoxDefs::MediaType_DVD, true /* aDoSelect */,
    259                true /* aRefresh */, mMachine, mCbIsoCD->id());
     259               false /* aRefresh */, mMachine, mCbIsoCD->id());
    260260
    261261    QUuid newId = dlg.exec() == QDialog::Accepted ?
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsFD.cpp

    r13580 r14039  
    253253
    254254    dlg.setup (VBoxDefs::MediaType_Floppy, true /* aDoSelect */,
    255                true /* aRefresh */, mMachine, mCbIsoFD->id());
     255               false /* aRefresh */, mMachine, mCbIsoFD->id());
    256256
    257257    QUuid newId = dlg.exec() == QDialog::Accepted ?
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette