adjust to Qt 5.14.x; remove compiler warnings.

This commit is contained in:
2020-12-22 22:36:07 +01:00
parent 56917d3fec
commit a9a61f5518
25 changed files with 948 additions and 28 deletions

View File

@@ -478,7 +478,11 @@ int PMusrStep::readMsrFile()
}
if (parameter) {
#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0))
strL = str.split(" ", QString::SkipEmptyParts);
#else
strL = str.split(" ", Qt::SkipEmptyParts);
#endif
if ((strL.size() != 5) && (strL.size() != 7)) {
fin.close();
return -2;