Native dir separators for PluginSpecPrivate::read error output

Forward slashes still look strange on Windows.

Change-Id: I64c6b1eb8f541a761c6534abc184ce7acb2c630c
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
Alessandro Portale
2011-12-29 20:15:58 +01:00
committed by Eike Ziller
parent 4a43336ad8
commit a58b07cfdd

View File

@@ -520,7 +520,7 @@ bool PluginSpecPrivate::read(const QString &fileName)
}
if (reader.hasError())
return reportError(tr("Error parsing file %1: %2, at line %3, column %4")
.arg(file.fileName())
.arg(QDir::toNativeSeparators(file.fileName()))
.arg(reader.errorString())
.arg(reader.lineNumber())
.arg(reader.columnNumber()));