mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-29 01:08:50 -04:00
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:
parent
6054890725
commit
d3018c4538
1 changed files with 6 additions and 9 deletions
|
@ -433,15 +433,15 @@ void NetworkDialog::insertConnect()
|
||||||
#endif
|
#endif
|
||||||
item = new QTreeWidgetItem(0);
|
item = new QTreeWidgetItem(0);
|
||||||
item->setChildIndicatorPolicy(QTreeWidgetItem::DontShowIndicatorWhenChildless);
|
item->setChildIndicatorPolicy(QTreeWidgetItem::DontShowIndicatorWhenChildless);
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* (0) Status Icon */
|
|
||||||
//item -> setText(0, "");
|
|
||||||
|
|
||||||
/* (1) Person */
|
/* (1) Person */
|
||||||
item -> setText(1, QString::fromStdString(detail.name));
|
item -> setText(1, QString::fromStdString(detail.name));
|
||||||
|
|
||||||
|
/* (4) key id */
|
||||||
|
item -> setText(4, QString::fromStdString(detail.id));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* (2) Key validity */
|
/* (2) Key validity */
|
||||||
if (detail.ownsign) {
|
if (detail.ownsign) {
|
||||||
item -> setText(2, tr("Authenticated"));
|
item -> setText(2, tr("Authenticated"));
|
||||||
|
@ -457,9 +457,6 @@ void NetworkDialog::insertConnect()
|
||||||
else
|
else
|
||||||
item -> setText(3, tr("Unknown"));
|
item -> setText(3, tr("Unknown"));
|
||||||
|
|
||||||
/* (4) key id */
|
|
||||||
item -> setText(4, QString::fromStdString(detail.id));
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determinated the Background Color
|
* Determinated the Background Color
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue