From cd89e4c34867f6cd3e5494c0c34dd6bb6c0b80fc Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 16 May 2016 16:50:11 +0200 Subject: [PATCH] Merge with develop --- code/ryzom/tools/client/ryzom_installer/src/profilesmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/profilesmodel.cpp b/code/ryzom/tools/client/ryzom_installer/src/profilesmodel.cpp index dd9c97e40..9f8ee02ff 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/profilesmodel.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/profilesmodel.cpp @@ -60,7 +60,7 @@ int CProfilesModel::getIndexFromProfileID(const QString &profileId) 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; }