fixed column names in keyring

This commit is contained in:
csoler 2017-11-14 21:36:04 +01:00
parent f6b7d1e9a3
commit 9f8f0e98be

View File

@ -47,7 +47,7 @@ QVariant pgpid_item_model::headerData(int section, Qt::Orientation orientation,
switch(section) switch(section)
{ {
case COLUMN_CHECK: case COLUMN_CHECK:
return QString(tr("")); return QString(tr("Connections"));
break; break;
case COLUMN_PEERNAME: case COLUMN_PEERNAME:
return QString(tr("Profile")); return QString(tr("Profile"));
@ -210,11 +210,11 @@ QVariant pgpid_item_model::data(const QModelIndex &index, int role) const
{ {
if (detail.accept_connection) if (detail.accept_connection)
{ {
return QString("0"); return tr("Accepted");
} }
else else
{ {
return QString("1"); return tr(" - ");
} }
} }
break; break;