mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-30 01:38:07 +00:00
Allow to select more than one file in the 'open file' dialog
BUGS: 395175 Differential Revision: https://phabricator.kde.org/D13667
This commit is contained in:
parent
1bc4fb0dd9
commit
862b2ab664
1 changed files with 1 additions and 0 deletions
|
@ -442,6 +442,7 @@ void Shell::fileOpen()
|
|||
dlg->setDirectoryUrl( startDir );
|
||||
dlg->setAcceptMode( QFileDialog::AcceptOpen );
|
||||
dlg->setOption( QFileDialog::HideNameFilterDetails, true );
|
||||
dlg->setFileMode( QFileDialog::ExistingFiles ); // Allow selection of more than one file
|
||||
|
||||
QMimeDatabase mimeDatabase;
|
||||
QSet<QString> globPatterns;
|
||||
|
|
Loading…
Reference in a new issue