diff options
author | iarspider <iarspider@gmail.com> | 2016-01-20 21:11:58 +0300 |
---|---|---|
committer | iarspider <iarspider@gmail.com> | 2016-01-20 21:11:58 +0300 |
commit | fbec48080b6e8abc2ec901c7b429661ecbc18491 (patch) | |
tree | 372afd73d1addfa49ce58b857c65cf19fe8e9730 | |
parent | 33b6222f9ff658e7ce3095c8b96967ba14b72804 (diff) | |
download | MultiMC-fbec48080b6e8abc2ec901c7b429661ecbc18491.tar MultiMC-fbec48080b6e8abc2ec901c7b429661ecbc18491.tar.gz MultiMC-fbec48080b6e8abc2ec901c7b429661ecbc18491.tar.lz MultiMC-fbec48080b6e8abc2ec901c7b429661ecbc18491.tar.xz MultiMC-fbec48080b6e8abc2ec901c7b429661ecbc18491.zip |
NOISSUE Do not ask to overwrite existing file twice when exporting instances
-rw-r--r-- | application/dialogs/ExportInstanceDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/dialogs/ExportInstanceDialog.cpp b/application/dialogs/ExportInstanceDialog.cpp index 8d320a3c..a38fd238 100644 --- a/application/dialogs/ExportInstanceDialog.cpp +++ b/application/dialogs/ExportInstanceDialog.cpp @@ -386,7 +386,7 @@ bool ExportInstanceDialog::doExport() const QString output = QFileDialog::getSaveFileName( this, tr("Export %1").arg(m_instance->name()), - FS::PathCombine(QDir::homePath(), name + ".zip"), "Zip (*.zip)"); + FS::PathCombine(QDir::homePath(), name + ".zip"), "Zip (*.zip)", nullptr, QFileDialog::DontConfirmOverwrite); if (output.isNull()) { return false; |