add missing errorMsg, if XML file is broken

Change-Id: Ied65747172adae0ad3cfb49382533f869ceb81d5
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
This commit is contained in:
Tim Jenssen 2013-06-07 12:22:05 +02:00
parent 813b6f8f3b
commit a2920282e6

View File

@ -143,7 +143,7 @@ void TestRepository::downloadCompleted()
QString errorMsg;
if (!doc.setContent(&file, &errorMsg)) {
error = InvalidUpdatesXml;
errorMsg = tr("Could not parse Updates.xml! Error: %1.");
errorMsg = tr("Could not parse Updates.xml! Error: %1.").arg(errorMsg);
} else {
error = NoError;
}