|
|
|
@ -78,7 +78,7 @@ void DNSUpdater::checkPublicIP()
@@ -78,7 +78,7 @@ void DNSUpdater::checkPublicIP()
|
|
|
|
|
|
|
|
|
|
DownloadHandler *handler = DownloadManager::instance()->downloadUrl( |
|
|
|
|
"http://checkip.dyndns.org", false, 0, false, |
|
|
|
|
"qBittorrent/" QBT_VERSION); |
|
|
|
|
"qBittorrent/" QBT_VERSION_2); |
|
|
|
|
connect(handler, SIGNAL(downloadFinished(QString, QByteArray)), SLOT(ipRequestFinished(QString, QByteArray))); |
|
|
|
|
connect(handler, SIGNAL(downloadFailed(QString, QString)), SLOT(ipRequestFailed(QString, QString))); |
|
|
|
|
|
|
|
|
@ -125,7 +125,7 @@ void DNSUpdater::updateDNSService()
@@ -125,7 +125,7 @@ void DNSUpdater::updateDNSService()
|
|
|
|
|
m_lastIPCheckTime = QDateTime::currentDateTime(); |
|
|
|
|
DownloadHandler *handler = DownloadManager::instance()->downloadUrl( |
|
|
|
|
getUpdateUrl(), false, 0, false, |
|
|
|
|
"qBittorrent/" QBT_VERSION); |
|
|
|
|
"qBittorrent/" QBT_VERSION_2); |
|
|
|
|
connect(handler, SIGNAL(downloadFinished(QString, QByteArray)), SLOT(ipUpdateFinished(QString, QByteArray))); |
|
|
|
|
connect(handler, SIGNAL(downloadFailed(QString, QString)), SLOT(ipUpdateFailed(QString, QString))); |
|
|
|
|
} |
|
|
|
|