MainWindow: Fixed recovery msg error

This commit is contained in:
matlabbe
2017-10-24 11:34:39 +02:00
parent c880366aaf
commit b6f41eecfd

View File

@@ -4310,7 +4310,7 @@ void MainWindow::newDatabase()
{
_recovering = false;
progressDialog->setValue(progressDialog->maximumSteps());
QMessageBox::warning(this, "Database recovery", tr("Database recovery failed: \"%1\".", errorMsg.c_str()));
QMessageBox::warning(this, "Database recovery", tr("Database recovery failed: \"%1\".").arg(errorMsg.c_str()));
return;
}
}