VirtualBox

Changeset 34823 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 8, 2010 9:24:47 AM (14 years ago)
Author:
vboxsync
Message:

FE/Qt: File-open window called from running VM device menu (cd/floppy) uses machine folder by default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp

    r34822 r34823  
    12931293        }
    12941294        /* Call for file-open window: */
     1295        QString strMachineFolder(QFileInfo(machine.GetSettingsFilePath()).absolutePath());
    12951296        QString strMediumId = vboxGlobal().openMediumWithFileOpenDialog(target.type, defaultMachineWindow()->machineWindow(),
    1296                                                                         QString(), true);
     1297                                                                        strMachineFolder, true);
    12971298        defaultMachineWindow()->machineView()->setFocus();
    12981299        if (!strMediumId.isNull())
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