Fixed: Compilation with GCC

--HG--
branch : develop
feature/pipeline-tools
kervala 9 years ago
parent 579e9eecc3
commit 7818e78b33

@ -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…
Cancel
Save