summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2013-01-30 14:50:39 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-30 20:12:41 (GMT)
commit08d6390b2131b8c5f2b582e4dc037f1c919d5e31 (patch)
tree7ffa0a344e8bb6c8874fe111b397e9df8737866e /src/gui
parent5073f6bd3828997b5432f2c9ae57a0b2dae1eeb6 (diff)
downloadQt-08d6390b2131b8c5f2b582e4dc037f1c919d5e31.zip
Qt-08d6390b2131b8c5f2b582e4dc037f1c919d5e31.tar.gz
Qt-08d6390b2131b8c5f2b582e4dc037f1c919d5e31.tar.bz2
Only allow one dir to be selected for getExistingDirectory() on Win
Task-number: QTBUG-21372 Change-Id: Ifcb625a0c974c5ee51fb42736bd3b309bd017296 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/dialogs/qfiledialog_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/dialogs/qfiledialog_win.cpp b/src/gui/dialogs/qfiledialog_win.cpp
index 37f7600..fcdf04e 100644
--- a/src/gui/dialogs/qfiledialog_win.cpp
+++ b/src/gui/dialogs/qfiledialog_win.cpp
@@ -580,7 +580,7 @@ QString qt_win_CID_get_existing_directory(const QFileDialogArgs &args)
if (SUCCEEDED(hr)) {
qt_win_set_IFileDialogOptions(pfd, args.selection,
args.directory, args.caption,
- QStringList(), QFileDialog::ExistingFiles,
+ QStringList(), QFileDialog::ExistingFile,
args.options);
// Set the FOS_PICKFOLDERS flag