- Timestamp:
- May 10, 2012 12:58:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r41159 r41234 967 967 } 968 968 if (i != -1) 969 strFilter = filters.at(i); 969 { 970 filters.prepend(filters.takeAt(i)); 971 strFilter = filters.first(); 972 } 970 973 /* Request the filename from the user. */ 971 974 const CMachine &machine = session().GetMachine(); 972 const QString &strStart = machine.GetSettingsFilePath(); 975 QFileInfo fi(machine.GetSettingsFilePath()); 976 QString strAbsolutePath(fi.absolutePath()); 977 QString strCompleteBaseName(fi.completeBaseName()); 978 QString strStart = QDir(strAbsolutePath).absoluteFilePath(strCompleteBaseName); 973 979 QString strFilename = QIFileDialog::getSaveFileName(strStart, 974 980 filters.join(";;"),
Note:
See TracChangeset
for help on using the changeset viewer.