[PQ] added static "parsedFromString"

This commit is contained in:
Klaus Basan
2020-03-27 18:09:05 +01:00
committed by Mat Sutcliffe
parent 1642502aae
commit 5bc09ed2c8
3 changed files with 12 additions and 2 deletions

View File

@@ -411,8 +411,7 @@ namespace BlackCore
if (parser.matchesPart(1, "range") && parser.countParts() > 2)
{
const QString r = parser.part(2);
CLength d;
d.parseFromString(r);
const CLength d = CLength::parsedFromString(r);
this->setMaxRange(d);
}
}