refs #768, return DB keys as set

This commit is contained in:
Klaus Basan
2016-10-17 03:02:06 +02:00
parent 7d8f5f689f
commit 4c6bb6e3fd
8 changed files with 18 additions and 17 deletions

View File

@@ -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

View File

@@ -105,7 +105,7 @@ namespace BlackCore
//! Get model keys
//! \threadsafe
QList<int> getModelDbKeys() const;
QSet<int> getModelDbKeys() const;
//! Get model keys
//! \threadsafe