mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
[PQ] added static "parsedFromString"
This commit is contained in:
committed by
Mat Sutcliffe
parent
1642502aae
commit
5bc09ed2c8
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user