|
|
@ -74,13 +74,13 @@ public: |
|
|
|
header << tr("Peers"); |
|
|
|
header << tr("Peers"); |
|
|
|
header << tr("Message"); |
|
|
|
header << tr("Message"); |
|
|
|
setHeaderItem(new QTreeWidgetItem(header)); |
|
|
|
setHeaderItem(new QTreeWidgetItem(header)); |
|
|
|
dht_item = new QTreeWidgetItem(QStringList(tr("[DHT]"))); |
|
|
|
dht_item = new QTreeWidgetItem(QStringList("** "+tr("[DHT]")+" **")); |
|
|
|
insertTopLevelItem(0, dht_item); |
|
|
|
insertTopLevelItem(0, dht_item); |
|
|
|
setRowColor(0, QColor("grey")); |
|
|
|
setRowColor(0, QColor("grey")); |
|
|
|
pex_item = new QTreeWidgetItem(QStringList(tr("[PeX]"))); |
|
|
|
pex_item = new QTreeWidgetItem(QStringList("** "+tr("[PeX]")+" **")); |
|
|
|
insertTopLevelItem(1, pex_item); |
|
|
|
insertTopLevelItem(1, pex_item); |
|
|
|
setRowColor(1, QColor("grey")); |
|
|
|
setRowColor(1, QColor("grey")); |
|
|
|
lsd_item = new QTreeWidgetItem(QStringList(tr("[LSD]"))); |
|
|
|
lsd_item = new QTreeWidgetItem(QStringList("** "+tr("[LSD]")+" **")); |
|
|
|
insertTopLevelItem(2, lsd_item); |
|
|
|
insertTopLevelItem(2, lsd_item); |
|
|
|
setRowColor(2, QColor("grey")); |
|
|
|
setRowColor(2, QColor("grey")); |
|
|
|
loadSettings(); |
|
|
|
loadSettings(); |
|
|
|