Browse Source

- Fix typo in the code

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
950aa497c6
  1. 2
      src/trackerlist.h
  2. 2
      src/trackersadditiondlg.h

2
src/trackerlist.h

@ -221,7 +221,7 @@ public slots: @@ -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;

2
src/trackersadditiondlg.h

@ -49,7 +49,7 @@ class TrackersAdditionDlg : public QDialog, private Ui::TrackersAdditionDlg{ @@ -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…
Cancel
Save