Browse Source

Add tooltip for various columns

Those strings sometimes are quite long and having a tooltip would
save the action of resizing the column width to see the full message.
The WebUI already has it done for all columns.
adaptive-webui-19844
Chocobo1 3 years ago
parent
commit
bdc03b1c75
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/gui/properties/trackerlistwidget.cpp

2
src/gui/properties/trackerlistwidget.cpp

@ -373,6 +373,7 @@ void TrackerListWidget::loadTrackers() @@ -373,6 +373,7 @@ void TrackerListWidget::loadTrackers()
{
item = new QTreeWidgetItem();
item->setText(COL_URL, trackerURL);
item->setToolTip(COL_URL, trackerURL);
addTopLevelItem(item);
m_trackerItems[trackerURL] = item;
}
@ -400,6 +401,7 @@ void TrackerListWidget::loadTrackers() @@ -400,6 +401,7 @@ void TrackerListWidget::loadTrackers()
}
item->setText(COL_MSG, entry.message);
item->setToolTip(COL_MSG, entry.message);
item->setText(COL_PEERS, ((entry.numPeers > -1)
? QString::number(entry.numPeers)
: tr("N/A")));

Loading…
Cancel
Save