Qt Gui: allow opening multiple files at the same time
parent
7df82cee18
commit
ff7a86c755
|
@ -570,6 +570,7 @@ void MainWindow::on_actionOpen_triggered() {
|
|||
dialog->setAttribute(Qt::WA_DeleteOnClose);
|
||||
dialog->setAcceptMode(QFileDialog::AcceptOpen);
|
||||
dialog->setViewMode(QFileDialog::Detail);
|
||||
dialog->setFileMode(QFileDialog::ExistingFiles);
|
||||
dialog->setWindowModality(Qt::WindowModal);
|
||||
QSettings settings;
|
||||
dialog->restoreState(settings.value("fileDialogState").toByteArray());
|
||||
|
|
Loading…
Reference in New Issue