summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-02-03 19:24:51 +0100
committerPetr Mrázek <peterix@gmail.com>2016-02-03 19:24:51 +0100
commit4ee1900201413cd2f792eec6d284946f3c177e93 (patch)
tree9674aceaaceae881f62650f15bff4da5fc7f9f57
parentab67d763f40767c13284a1233b9ab70bfecb9c21 (diff)
parentfbec48080b6e8abc2ec901c7b429661ecbc18491 (diff)
downloadMultiMC-4ee1900201413cd2f792eec6d284946f3c177e93.tar
MultiMC-4ee1900201413cd2f792eec6d284946f3c177e93.tar.gz
MultiMC-4ee1900201413cd2f792eec6d284946f3c177e93.tar.lz
MultiMC-4ee1900201413cd2f792eec6d284946f3c177e93.tar.xz
MultiMC-4ee1900201413cd2f792eec6d284946f3c177e93.zip
Merge branch 'patch-1' of git://github.com/iarspider/MultiMC5 into develop
-rw-r--r--application/dialogs/ExportInstanceDialog.cpp2
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;