Changed: Better syntax for profile display

--HG--
branch : develop
This commit is contained in:
kervala 2016-05-16 14:46:08 +02:00
parent a161968c3c
commit 1fed8f51a0

View file

@ -24,7 +24,7 @@ QVariant CProfilesModel::data(const QModelIndex &index, int role) const
const CProfile &profile = m_profiles.at(index.row()); const CProfile &profile = m_profiles.at(index.row());
return QString("%1 (#%2)").arg(profile.name).arg(profile.id); return tr("#%1: %2").arg(profile.id).arg(profile.name);
} }
bool CProfilesModel::removeRows(int row, int count, const QModelIndex &parent) bool CProfilesModel::removeRows(int row, int count, const QModelIndex &parent)