Fix QFileDialog::getSaveFilename() with a given default name
authorShawn Rutledge <shawn.rutledge@digia.com>
Wed, 30 Oct 2013 14:14:16 +0000 (15:14 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 8 Nov 2013 15:45:26 +0000 (16:45 +0100)
commit7e5452a23f02c87f73f729cf6eab0ffe1ffa440c
tree232a0852eafa7d5b9560bc0737fd7855840c0a57
parent706eeadf3aa226ea02496c352006b26abe791f07
Fix QFileDialog::getSaveFilename() with a given default name

The QFileDialogOptions::initiallySelectedFiles were overridden, and
the given filename was also not properly converted to a local file URL.

Task-number: QTBUG-34408
Task-number: QTBUG-34446
Change-Id: I51d05b954a5393d10db9232945ba05bda7068e73
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
src/widgets/dialogs/qfiledialog.cpp