GH-1280 modpack import: make the progress dialog say what is being downloaded

This commit is contained in:
Petr Mrázek 2016-01-12 05:30:03 +01:00
parent 5ccfbba435
commit 25991c36af

View File

@ -1037,6 +1037,7 @@ InstancePtr MainWindow::instanceFromZipPack(QString instName, QString instGroup,
// FIXME: possibly causes endless loop problems
ProgressDialog dlDialog(this);
job.setStatus(tr("Downloading modpack:\n%1").arg(url.toString()));
if (dlDialog.execWithTask(&job) != QDialog::Accepted)
{
return nullptr;