Fix crash when accessing QFileDialog::selectedFiles() before widgets exist.
authorFriedemann Kleint <Friedemann.Kleint@digia.com>
Wed, 23 Apr 2014 12:56:18 +0000 (14:56 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 28 Apr 2014 11:47:40 +0000 (13:47 +0200)
commitd7d12bc1eb8ddb9b3f5055099fda7f6a2cea03b3
treed33a40093356abcda465645a340a3ba59afdee64
parent049fa03c2f8c52e88bf5c5d205beddc92784c0c2
Fix crash when accessing QFileDialog::selectedFiles() before widgets exist.

Discovered while investigating:

Task-number: QTBUG-38414
Change-Id: I764195254ba4b54c86079c6e8ef750d6249960d9
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
src/widgets/dialogs/qfiledialog.cpp
tests/auto/widgets/dialogs/qfiledialog/tst_qfiledialog.cpp