- 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
void askForTrackers(){
QStringList trackers = TrackersAdditionDlg::asForTrackers();
QStringList trackers = TrackersAdditionDlg::askForTrackers();
if(!trackers.empty()) {
QTorrentHandle h = properties->getCurrentTorrent();
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");
}
static QStringList asForTrackers() {
static QStringList askForTrackers() {
QStringList trackers;
TrackersAdditionDlg dlg;
if(dlg.exec() == QDialog::Accepted) {