Changeset 77345 in vbox for trunk/src/VBox
- Timestamp:
- Feb 18, 2019 12:49:50 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r77344 r77345 2890 2890 "This is used for hard disks, optical media and floppies")); 2891 2891 2892 // /* Prepare create floppy disk action: */2893 // if (enmMediumType == UIMediumDeviceType_Floppy)2894 // {2895 // QAction *pActionCreateFloppy = menu.addAction(UIIconPool::iconSet(":/fd_add_16px.png"),2896 // QString(), pListener, pszSlotName);2897 // pActionCreateFloppy->setData(QVariant::fromValue(UIMediumTarget(strControllerName, comCurrentAttachment.GetPort(),2898 // comCurrentAttachment.GetDevice(), enmMediumType,2899 // UIMediumTarget::UIMediumTargetType_CreateFloppyDisk)));2900 // pActionCreateFloppy->setText(QApplication::translate("UIMachineSettingsStorage", "Create a new floppy disk...",2901 // "This is used to create a new floppy disk"));2902 // }2903 // /* Prepare ad-hoc-viso action for DVD-ROMs: */2904 // if (enmMediumType == UIMediumDeviceType_DVD)2905 // {2906 // QAction *pActionAdHocViso = menu.addAction(UIIconPool::iconSet(":/select_file_16px.png"),2907 // QString(), pListener, pszSlotName);2908 // pActionAdHocViso->setData(QVariant::fromValue(UIMediumTarget(strControllerName, comCurrentAttachment.GetPort(),2909 // comCurrentAttachment.GetDevice(), enmMediumType,2910 // UIMediumTarget::UIMediumTargetType_CreateAdHocVISO)));2911 // pActionAdHocViso->setText(QApplication::translate("UIMachineSettingsStorage", "Create ad hoc VISO...",2912 // "This is used for optical media"));2913 // }2914 2915 2892 2916 2893 /* Insert separator: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/firstrun/UIWizardFirstRunPageBasic.cpp
r76606 r77345 40 40 { 41 41 /* Get opened vboxMedium id: */ 42 QUuid uMediumId = vboxGlobal().openMediumWithFileOpenDialog(m_pMediaSelector->type(), thisImp()); 42 QUuid uMediumId; 43 vboxGlobal().openMediumSelectorDialog(thisImp(), UIMediumDeviceType_DVD, uMediumId, "", "", "", true); 43 44 /* Update medium-combo if necessary: */ 44 45 if (!uMediumId.isNull()) … … 159 160 return m_pMediaSelector->currentText(); 160 161 } 161
Note:
See TracChangeset
for help on using the changeset viewer.