aboutsummaryrefslogtreecommitdiff
path: root/lib/networksettings.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-09-29 17:50:28 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-09-29 17:51:20 +0900
commitbe53652eb30edd6e096c172a97609070d1e74746 (patch)
tree43c50381ad2bc851fd1351bb321ed5d1b8e170d1 /lib/networksettings.h
parent8f1bfa5c5764e399259c13b260661647363cf5d9 (diff)
downloadlibquotient-be53652eb30edd6e096c172a97609070d1e74746.tar.gz
libquotient-be53652eb30edd6e096c172a97609070d1e74746.zip
Settings: childGroups() should merge legacy and current groups; QMC->QTNT in macros
Because otherwise migrating one group to the current location leads to all other groups suddenly disappearing from Settings view.
Diffstat (limited to 'lib/networksettings.h')
-rw-r--r--lib/networksettings.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/networksettings.h b/lib/networksettings.h
index a6a13f93..2399cf5f 100644
--- a/lib/networksettings.h
+++ b/lib/networksettings.h
@@ -27,9 +27,9 @@ Q_DECLARE_METATYPE(QNetworkProxy::ProxyType)
namespace Quotient {
class NetworkSettings : public SettingsGroup {
Q_OBJECT
- QMC_DECLARE_SETTING(QNetworkProxy::ProxyType, proxyType, setProxyType)
- QMC_DECLARE_SETTING(QString, proxyHostName, setProxyHostName)
- QMC_DECLARE_SETTING(quint16, proxyPort, setProxyPort)
+ QTNT_DECLARE_SETTING(QNetworkProxy::ProxyType, proxyType, setProxyType)
+ QTNT_DECLARE_SETTING(QString, proxyHostName, setProxyHostName)
+ QTNT_DECLARE_SETTING(quint16, proxyPort, setProxyPort)
Q_PROPERTY(QString proxyHost READ proxyHostName WRITE setProxyHostName)
public:
template <typename... ArgTs>