mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
- Fix right click menu in tracker list and in peer list (Thanks Heavyjoost)
This commit is contained in:
@@ -143,6 +143,7 @@ void PeerListWidget::showPeerListMenu(QPoint) {
|
||||
}
|
||||
if(empty_menu) return;
|
||||
QAction *act = menu.exec(QCursor::pos());
|
||||
if(act == 0) return;
|
||||
if(act == addPeerAct) {
|
||||
libtorrent::asio::ip::tcp::endpoint ep = PeerAdditionDlg::askForPeerEndpoint();
|
||||
if(ep != libtorrent::asio::ip::tcp::endpoint()) {
|
||||
|
||||
Reference in New Issue
Block a user