mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-27 03:39:39 +03:00
Fix typo
This commit is contained in:
parent
deb9a6b37f
commit
edbfff62e8
2 changed files with 3 additions and 3 deletions
|
@ -733,9 +733,9 @@ int TrackerFiltersList::rowFromTracker(const QString &tracker) const
|
|||
return -1;
|
||||
}
|
||||
|
||||
QString TrackerFiltersList::getHost(const QString &trakcer) const
|
||||
QString TrackerFiltersList::getHost(const QString &tracker) const
|
||||
{
|
||||
QUrl url(trakcer);
|
||||
QUrl url(tracker);
|
||||
QString longHost = url.host();
|
||||
QString tld = url.topLevelDomain();
|
||||
// We get empty tld when it is invalid or an IPv4/IPv6 address,
|
||||
|
|
|
@ -154,7 +154,7 @@ private:
|
|||
virtual void torrentAboutToBeDeleted(BitTorrent::TorrentHandle *const torrent);
|
||||
QString trackerFromRow(int row) const;
|
||||
int rowFromTracker(const QString &tracker) const;
|
||||
QString getHost(const QString &trakcer) const;
|
||||
QString getHost(const QString &tracker) const;
|
||||
QStringList getHashes(int row);
|
||||
void downloadFavicon(const QString &url);
|
||||
|
||||
|
|
Loading…
Reference in a new issue