mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
refs #768, return DB keys as set
This commit is contained in:
@@ -128,9 +128,9 @@ namespace BlackCore
|
||||
return this->getModels().size();
|
||||
}
|
||||
|
||||
QList<int> CModelDataReader::getModelDbKeys() const
|
||||
QSet<int> CModelDataReader::getModelDbKeys() const
|
||||
{
|
||||
return this->getModels().toDbKeyList();
|
||||
return this->getModels().toDbKeySet();
|
||||
}
|
||||
|
||||
QStringList CModelDataReader::getModelStringList() const
|
||||
|
||||
@@ -105,7 +105,7 @@ namespace BlackCore
|
||||
|
||||
//! Get model keys
|
||||
//! \threadsafe
|
||||
QList<int> getModelDbKeys() const;
|
||||
QSet<int> getModelDbKeys() const;
|
||||
|
||||
//! Get model keys
|
||||
//! \threadsafe
|
||||
|
||||
Reference in New Issue
Block a user