Changeset 88551 in vbox
- Timestamp:
- Apr 15, 2021 5:04:23 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIFilePathSelector.cpp
r88446 r88551 408 408 { 409 409 case Mode_File_Open: 410 strSelPath = QIFileDialog::getOpenFileName(strInitPath, m_strFileDialogFilters, parentWidget(), m_strFileDialogTitle); break;410 strSelPath = QIFileDialog::getOpenFileName(strInitPath, m_strFileDialogFilters, window(), m_strFileDialogTitle); break; 411 411 case Mode_File_Save: 412 412 { 413 strSelPath = QIFileDialog::getSaveFileName(strInitPath, m_strFileDialogFilters, parentWidget(), m_strFileDialogTitle);413 strSelPath = QIFileDialog::getSaveFileName(strInitPath, m_strFileDialogFilters, window(), m_strFileDialogTitle); 414 414 if (!strSelPath.isEmpty() && QFileInfo(strSelPath).suffix().isEmpty()) 415 415 { … … 422 422 } 423 423 case Mode_Folder: 424 strSelPath = QIFileDialog::getExistingDirectory(strInitPath, parentWidget(), m_strFileDialogTitle); break;424 strSelPath = QIFileDialog::getExistingDirectory(strInitPath, window(), m_strFileDialogTitle); break; 425 425 } 426 426
Note:
See TracChangeset
for help on using the changeset viewer.

