mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
refs #937 Resolved clazy warnings: unnecessary memory allocation.
This commit is contained in:
@@ -102,7 +102,7 @@ namespace BlackMisc
|
||||
{
|
||||
int pos = match.capturedStart(0);
|
||||
QString icao = match.captured(0).trimmed().right(4);
|
||||
rn = rn.left(pos).trimmed();
|
||||
rn = rn.leftRef(pos).trimmed().toString();
|
||||
this->setHomeBase(CAirportIcaoCode(icao));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user