mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Ref T308 prephase, meaasure model parsing ttime
This commit is contained in:
@@ -75,6 +75,7 @@ namespace BlackMisc
|
||||
|
||||
void IDatastoreObjectWithIntegerKey::setKeyAndTimestampFromDatabaseJson(const QJsonObject &json, const QString &prefix)
|
||||
{
|
||||
// this function is performance sensitive, as it is called for all DB data
|
||||
const int dbKey = json.value(prefix % QStringLiteral("id")).toInt(-1);
|
||||
this->setDbKey(dbKey);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user