Remove unused parameter

This commit is contained in:
Chocobo1
2022-01-21 17:31:31 +08:00
parent 54252184ab
commit 44c8d60a70
26 changed files with 40 additions and 40 deletions

View File

@@ -259,7 +259,7 @@ void PeerListWidget::updatePeerCountryResolutionState()
}
}
void PeerListWidget::showPeerListMenu(const QPoint &)
void PeerListWidget::showPeerListMenu()
{
BitTorrent::Torrent *torrent = m_properties->getCurrentTorrent();
if (!torrent) return;

View File

@@ -89,7 +89,7 @@ private slots:
void loadSettings();
void saveSettings() const;
void displayColumnHeaderMenu();
void showPeerListMenu(const QPoint &);
void showPeerListMenu();
void banSelectedPeers();
void copySelectedPeers();
void handleSortColumnChanged(int col);

View File

@@ -635,7 +635,7 @@ void PropertiesWidget::openParentFolder(const QModelIndex &index) const
#endif
}
void PropertiesWidget::displayFilesListMenu(const QPoint &)
void PropertiesWidget::displayFilesListMenu()
{
if (!m_torrent) return;
@@ -742,7 +742,7 @@ void PropertiesWidget::displayFilesListMenu(const QPoint &)
menu->popup(QCursor::pos());
}
void PropertiesWidget::displayWebSeedListMenu(const QPoint &)
void PropertiesWidget::displayWebSeedListMenu()
{
if (!m_torrent) return;

View File

@@ -91,8 +91,8 @@ protected slots:
void deleteSelectedUrlSeeds();
void copySelectedWebSeedsToClipboard() const;
void editWebSeed();
void displayFilesListMenu(const QPoint &);
void displayWebSeedListMenu(const QPoint &);
void displayFilesListMenu();
void displayWebSeedListMenu();
void filteredFilesChanged();
void showPiecesDownloaded(bool show);
void showPiecesAvailability(bool show);

View File

@@ -575,7 +575,7 @@ void TrackerListWidget::reannounceSelected()
loadTrackers();
}
void TrackerListWidget::showTrackerListMenu(const QPoint &)
void TrackerListWidget::showTrackerListMenu()
{
BitTorrent::Torrent *const torrent = m_properties->getCurrentTorrent();
if (!torrent) return;

View File

@@ -75,7 +75,7 @@ public slots:
void reannounceSelected();
void deleteSelectedTrackers();
void editSelectedTracker();
void showTrackerListMenu(const QPoint &);
void showTrackerListMenu();
void loadSettings();
void saveSettings() const;