Commit c9de3b0d authored by Peter Wu's avatar Peter Wu
Browse files

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
parent 9bca22ef
......@@ -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());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment