summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2016-10-11 23:24:12 (GMT)
committerPeter Wu <peter@lekensteyn.nl>2016-10-12 17:13:45 (GMT)
commitc9de3b0d09a41643b56e962561f8187ac84e955e (patch)
treea36fd78d1ca859409bd1e776f4e237c1795ecbfb
parent9bca22ef6689728facf3a0ea3eded845b91b2e8e (diff)
Use native file dialog for the Save As option
The native file dialog has an image preview option which is lacking in the widget-based Qt file dialog. REVIEW: 129156 BUG: 369174 FIXED-IN: 16.12
-rw-r--r--src/ExportManager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ExportManager.cpp b/src/ExportManager.cpp
index 763b1f3..186f3cb 100644
--- a/src/ExportManager.cpp
+++ b/src/ExportManager.cpp
@@ -315,7 +315,6 @@ void ExportManager::doSaveAs(QWidget *parentWindow)
// construct the file name
QFileDialog dialog(parentWindow);
- dialog.setOption(QFileDialog::DontUseNativeDialog);
dialog.setAcceptMode(QFileDialog::AcceptSave);
dialog.setFileMode(QFileDialog::AnyFile);
dialog.setDirectoryUrl(config->lastSaveAsLocation());