Changeset 35133 in vbox
- Timestamp:
- Dec 15, 2010 1:32:39 PM (14 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.h
r34961 r35133 594 594 595 595 QString openMediumWithFileOpenDialog(VBoxDefs::MediumType mediumType, QWidget *pParent = 0, 596 const QString &strDefaultFolder = QString(), bool fUseLastFolder = false);596 const QString &strDefaultFolder = QString(), bool fUseLastFolder = true); 597 597 QString openMedium(VBoxDefs::MediumType mediumType, QString strMediumLocation); 598 598 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r34983 r35133 1330 1330 QString strMachineFolder(QFileInfo(machine.GetSettingsFilePath()).absolutePath()); 1331 1331 QString strMediumId = vboxGlobal().openMediumWithFileOpenDialog(target.type, defaultMachineWindow()->machineWindow(), 1332 strMachineFolder , true);1332 strMachineFolder); 1333 1333 defaultMachineWindow()->machineView()->setFocus(); 1334 1334 if (!strMediumId.isNull()) -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp
r34961 r35133 2463 2463 { 2464 2464 QString strMachineFolder(QFileInfo(m_machine.GetSettingsFilePath()).absolutePath()); 2465 QString strMediumId = vboxGlobal().openMediumWithFileOpenDialog(m_pMediumIdHolder->type(), this, strMachineFolder , true);2465 QString strMediumId = vboxGlobal().openMediumWithFileOpenDialog(m_pMediumIdHolder->type(), this, strMachineFolder); 2466 2466 if (!strMediumId.isNull()) 2467 2467 m_pMediumIdHolder->setId(strMediumId);
Note:
See TracChangeset
for help on using the changeset viewer.