small code change

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2511 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2010-03-10 16:18:33 +00:00
parent 6054890725
commit d3018c4538

View File

@ -433,15 +433,15 @@ void NetworkDialog::insertConnect()
#endif
item = new QTreeWidgetItem(0);
item->setChildIndicatorPolicy(QTreeWidgetItem::DontShowIndicatorWhenChildless);
/* (1) Person */
item -> setText(1, QString::fromStdString(detail.name));
/* (4) key id */
item -> setText(4, QString::fromStdString(detail.id));
}
}
/* (0) Status Icon */
//item -> setText(0, "");
/* (1) Person */
item -> setText(1, QString::fromStdString(detail.name));
/* (2) Key validity */
if (detail.ownsign) {
item -> setText(2, tr("Authenticated"));
@ -457,9 +457,6 @@ void NetworkDialog::insertConnect()
else
item -> setText(3, tr("Unknown"));
/* (4) key id */
item -> setText(4, QString::fromStdString(detail.id));
/**
* Determinated the Background Color