mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-10 09:19:01 +00:00
Merge with develop
This commit is contained in:
parent
9a61bd9a7c
commit
cd89e4c348
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ int CProfilesModel::getIndexFromProfileID(const QString &profileId) const
|
||||||
|
|
||||||
QString CProfilesModel::getProfileIDFromIndex(int index) const
|
QString CProfilesModel::getProfileIDFromIndex(int index) const
|
||||||
{
|
{
|
||||||
if (index < 0 || index >= m_profiles.size()) return -1;
|
if (index < 0 || index >= m_profiles.size()) return "";
|
||||||
|
|
||||||
return m_profiles[index].id;
|
return m_profiles[index].id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue