mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 11:54:22 -04:00
Added to count downloads/uploads items
Enabled to get copy the DHT label values via mouse Added counting on DHT Window & added context menu for DHT Tree, to copy IP addresses to clipboard
This commit is contained in:
parent
36c68e71ec
commit
397729bd93
6 changed files with 66 additions and 2 deletions
|
@ -1076,6 +1076,7 @@ int TransfersDialog::addItem(int row, const FileInfo &fileInfo)
|
|||
}
|
||||
|
||||
return row;
|
||||
|
||||
}
|
||||
|
||||
int TransfersDialog::addPeerToItem(QStandardItem *dlItem, const QString& name, const QString& coreID, double dlspeed, uint32_t status, const FileProgressInfo& peerInfo)
|
||||
|
@ -1401,6 +1402,13 @@ void TransfersDialog::insertTransfers()
|
|||
}
|
||||
|
||||
ui.uploadsList->setSortingEnabled(true);
|
||||
|
||||
downloads = tr("Downloads") + " (" + QString::number(DLListModel->rowCount()) + ")";
|
||||
uploads = tr("Uploads") + " (" + QString::number(ULListModel->rowCount()) + ")" ;
|
||||
|
||||
ui.tabWidget->setTabText(0, downloads);
|
||||
ui.tabWidget_2->setTabText(0, uploads);
|
||||
|
||||
}
|
||||
|
||||
QString TransfersDialog::getPeerName(const RsPeerId& id) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue