diff --git a/src/data/data.cpp b/src/data/data.cpp index 9f9327f3..660dcb25 100644 --- a/src/data/data.cpp +++ b/src/data/data.cpp @@ -106,7 +106,7 @@ Data::Data(const QString &fileName, bool tryUnknown) _errorLine = 0; if (!file.open(QFile::ReadOnly)) { - _errorString = qPrintable(file.errorString()); + _errorString = file.errorString(); return; }