Fixed: Compilation with GCC

This commit is contained in:
kervala 2016-05-16 16:49:42 +02:00
parent 7277a9bb95
commit 580de85ba5

View file

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