adopted to the newer Qt versions.
This commit is contained in:
parent
e3c2149847
commit
bface6bf1e
@ -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")) {
|
||||||
|
@ -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")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user