1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 21:14:33 +00:00

- Fix typo in the code

This commit is contained in:
Christophe Dumez 2009-11-25 12:33:01 +00:00
parent fe62efa145
commit 950aa497c6
2 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ public slots:
// Ask the user for new trackers and add them to the torrent // Ask the user for new trackers and add them to the torrent
void askForTrackers(){ void askForTrackers(){
QStringList trackers = TrackersAdditionDlg::asForTrackers(); QStringList trackers = TrackersAdditionDlg::askForTrackers();
if(!trackers.empty()) { if(!trackers.empty()) {
QTorrentHandle h = properties->getCurrentTorrent(); QTorrentHandle h = properties->getCurrentTorrent();
if(!h.is_valid()) return; if(!h.is_valid()) return;

View File

@ -49,7 +49,7 @@ class TrackersAdditionDlg : public QDialog, private Ui::TrackersAdditionDlg{
return trackers_list->toPlainText().trimmed().split("\n"); return trackers_list->toPlainText().trimmed().split("\n");
} }
static QStringList asForTrackers() { static QStringList askForTrackers() {
QStringList trackers; QStringList trackers;
TrackersAdditionDlg dlg; TrackersAdditionDlg dlg;
if(dlg.exec() == QDialog::Accepted) { if(dlg.exec() == QDialog::Accepted) {