mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 13:04:23 +00:00
- Fix typo in the code
This commit is contained in:
parent
fe62efa145
commit
950aa497c6
@ -221,7 +221,7 @@ public slots:
|
||||
|
||||
// Ask the user for new trackers and add them to the torrent
|
||||
void askForTrackers(){
|
||||
QStringList trackers = TrackersAdditionDlg::asForTrackers();
|
||||
QStringList trackers = TrackersAdditionDlg::askForTrackers();
|
||||
if(!trackers.empty()) {
|
||||
QTorrentHandle h = properties->getCurrentTorrent();
|
||||
if(!h.is_valid()) return;
|
||||
|
@ -49,7 +49,7 @@ class TrackersAdditionDlg : public QDialog, private Ui::TrackersAdditionDlg{
|
||||
return trackers_list->toPlainText().trimmed().split("\n");
|
||||
}
|
||||
|
||||
static QStringList asForTrackers() {
|
||||
static QStringList askForTrackers() {
|
||||
QStringList trackers;
|
||||
TrackersAdditionDlg dlg;
|
||||
if(dlg.exec() == QDialog::Accepted) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user