summaryrefslogtreecommitdiffstats
path: root/header.GPL
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-12-04 12:51:12 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-12-12 07:22:29 +0000
commit589f9f179cd0f570db22f15941625d911f6b7721 (patch)
treed08cb1ec942213772f83f0790a7c1f76f91660f2 /header.GPL
parentf10b98084064f5d53717c8364048562d373a7f88 (diff)
QFileDialog: Remember last visited directory correctly
QFileDialogPrivate::init() sets the working directory derived from the URL passed in, causing the lastVisitedDir to be set. This in turn prevented the restoreState() logic from setting the directory retrieved from the file. Clear lastVisitedDir in init() in case the initial URL was invalid. Fixes: QTBUG-70798 Change-Id: I19084e24eb6d469330c4dd8c50495b4996279189 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'header.GPL')
0 files changed, 0 insertions, 0 deletions