Merge branch 'patch-1' of git://github.com/iarspider/MultiMC5 into develop

This commit is contained in:
Petr Mrázek 2016-02-03 19:24:51 +01:00
commit 4ee1900201

View File

@ -386,7 +386,7 @@ bool ExportInstanceDialog::doExport()
const QString output = QFileDialog::getSaveFileName( const QString output = QFileDialog::getSaveFileName(
this, tr("Export %1").arg(m_instance->name()), 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()) if (output.isNull())
{ {
return false; return false;