Browse Source

- Improve LSD/DHT/PeX display in tracker list

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
a4cfc77531
  1. 6
      src/trackerlist.h

6
src/trackerlist.h

@ -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();

Loading…
Cancel
Save