Browse Source

In preferences.h now argument is const references

adaptive-webui-19844
Konstantin Goncharik 11 years ago
parent
commit
f29c04d935
  1. 6
      src/preferences/preferences.h

6
src/preferences/preferences.h

@ -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…
Cancel
Save