Changed: Better syntax for profile display
This commit is contained in:
parent
6f10d1ebad
commit
13e6af9800
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue