mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-08-29 07:02:04 +00:00
In preferences.h now argument is const references
This commit is contained in:
parent
a77a6b5a8b
commit
f29c04d935
@ -894,7 +894,7 @@ public:
|
|||||||
return value("Preferences/DynDNS/DomainName", "changeme.dyndns.org").toString();
|
return value("Preferences/DynDNS/DomainName", "changeme.dyndns.org").toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
void setDynDomainName(const QString name) {
|
void setDynDomainName(const QString &name) {
|
||||||
setValue("Preferences/DynDNS/DomainName", name);
|
setValue("Preferences/DynDNS/DomainName", name);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -902,7 +902,7 @@ public:
|
|||||||
return value("Preferences/DynDNS/Username").toString();
|
return value("Preferences/DynDNS/Username").toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
void setDynDNSUsername(const QString username) {
|
void setDynDNSUsername(const QString &username) {
|
||||||
setValue("Preferences/DynDNS/Username", username);
|
setValue("Preferences/DynDNS/Username", username);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -910,7 +910,7 @@ public:
|
|||||||
return value("Preferences/DynDNS/Password").toString();
|
return value("Preferences/DynDNS/Password").toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
void setDynDNSPassword(const QString password) {
|
void setDynDNSPassword(const QString &password) {
|
||||||
setValue("Preferences/DynDNS/Password", password);
|
setValue("Preferences/DynDNS/Password", password);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user