Changed: Better syntax for profile display

This commit is contained in:
kervala 2016-05-16 14:46:08 +02:00
parent 811aa1967d
commit 8741cfebe9

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)