absorb return value of trimmed().

This commit is contained in:
2018-05-23 17:34:34 +02:00
parent 1bff46a61d
commit 2774821b73
2 changed files with 3 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ void PGetFourierBlockDialog::checkPhaseParameter()
ival = str.toInt(&ok);
if (!ok) { // i.e. the phase entry is not a number. Check for parXX
str.trimmed();
str = str.trimmed();
if (str.startsWith("par")) { //
str.remove("par");
ival = str.toInt(&ok);