mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Add const to almost all remaining vars and arguments that qualify
This commit is contained in:
parent
bb041c0eca
commit
70f1537d9f
35 changed files with 261 additions and 261 deletions
|
@ -181,7 +181,7 @@ void DNSUpdater::processIPUpdateReply(const QString &reply)
|
|||
{
|
||||
Logger *const logger = Logger::instance();
|
||||
qDebug() << Q_FUNC_INFO << reply;
|
||||
QString code = reply.split(' ').first();
|
||||
const QString code = reply.split(' ').first();
|
||||
qDebug() << Q_FUNC_INFO << "Code:" << code;
|
||||
|
||||
if ((code == "good") || (code == "nochg")) {
|
||||
|
@ -284,7 +284,7 @@ void DNSUpdater::updateCredentials()
|
|||
}
|
||||
}
|
||||
|
||||
QUrl DNSUpdater::getRegistrationUrl(int service)
|
||||
QUrl DNSUpdater::getRegistrationUrl(const int service)
|
||||
{
|
||||
switch (service) {
|
||||
case DNS::DYNDNS:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue