Commit bb688f63 authored by Ivan Yossi's avatar Ivan Yossi 👌

Silence Warning: Proper concateation of integer and string

parent 8a766115
......@@ -282,7 +282,7 @@ KisImportExportErrorCode KraConverter::loadXML(const KoXmlDocument &doc, KoStore
root = doc.documentElement();
int syntaxVersion = root.attribute("syntaxVersion", "3").toInt();
if (syntaxVersion > 2) {
errUI << "The file is too new for this version of Krita: " + syntaxVersion;
errUI << "The file is too new for this version of Krita: " + QString::number(syntaxVersion);
return ImportExportCodes::FormatFeaturesUnsupported;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment