#3752 ResInsight code changes to build on both Qt4 and Qt5

This commit is contained in:
Gaute Lindkvist
2018-11-26 09:53:43 +01:00
parent ddb546d877
commit 5c66b901c3
19 changed files with 40 additions and 23 deletions

View File

@@ -52,7 +52,7 @@ void JsonReader::dumpToFile(std::vector<cvf::Vec3d>& points, QString filePath)
cvf::Vec3d point = points[idx];
QString string;
string.sprintf("(%0.10e, %0.10e, %0.10e)\n", point.x(), point.y(), point.z());
QByteArray byteArray(string.toAscii());
QByteArray byteArray(string.toLatin1());
file.write(byteArray);
}
file.close();