#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

@@ -249,7 +249,7 @@ bool RifEclipseUnifiedRestartFileAccess::results(const QString& resultName, size
{
ecl_file_select_block(m_ecl_file, INTEHEAD_KW, static_cast<int>(timeStep * gridCount + i));
int namedKeywordCount = ecl_file_get_num_named_kw(m_ecl_file, resultName.toAscii().data());
int namedKeywordCount = ecl_file_get_num_named_kw(m_ecl_file, resultName.toLatin1().data());
for (int iOcc = 0; iOcc < namedKeywordCount; iOcc++)
{
std::vector<double> partValues;