Changed: Better syntax for profile display

--HG--
branch : develop
feature/pipeline-tools
kervala 9 years ago
parent a161968c3c
commit 1fed8f51a0

@ -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)

Loading…
Cancel
Save