mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 17:53:08 -07:00
Fix peeradditiondlg position
This commit is contained in:
parent
6f6fe626a1
commit
bd2f69a9d6
4 changed files with 6 additions and 9 deletions
|
@ -245,7 +245,7 @@ void PeerListWidget::showPeerListMenu(const QPoint &)
|
|||
QAction *act = menu.exec(QCursor::pos());
|
||||
if (act == 0) return;
|
||||
if (act == addPeerAct) {
|
||||
QList<BitTorrent::PeerAddress> peersList = PeersAdditionDlg::askForPeers();
|
||||
QList<BitTorrent::PeerAddress> peersList = PeersAdditionDlg::askForPeers(this);
|
||||
int peerCount = 0;
|
||||
foreach (const BitTorrent::PeerAddress &addr, peersList) {
|
||||
if (torrent->connectPeer(addr)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue