adopted to the newer Qt versions.

This commit is contained in:
suter_a 2022-11-07 09:48:19 +01:00
parent e3c2149847
commit bface6bf1e
2 changed files with 2 additions and 2 deletions

View File

@ -544,7 +544,7 @@ int PMusrStep::writeMsrFile()
bool paramBlock = false; bool paramBlock = false;
do { do {
line = getLine(data, idx); line = getLine(data, idx);
if ((idx == -1) || (idx == data.count())) { if ((idx == -1) || (idx == data.size())) {
done = true; done = true;
} else { } else {
if (line.startsWith("FITPARAMETER")) { if (line.startsWith("FITPARAMETER")) {

View File

@ -539,7 +539,7 @@ int PMusrStep::writeMsrFile()
bool paramBlock = false; bool paramBlock = false;
do { do {
line = getLine(data, idx); line = getLine(data, idx);
if ((idx == -1) || (idx == data.count())) { if ((idx == -1) || (idx == data.size())) {
done = true; done = true;
} else { } else {
if (line.startsWith("FITPARAMETER")) { if (line.startsWith("FITPARAMETER")) {