diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-09-29 17:50:28 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-09-29 17:51:20 +0900 |
commit | be53652eb30edd6e096c172a97609070d1e74746 (patch) | |
tree | 43c50381ad2bc851fd1351bb321ed5d1b8e170d1 /lib/networksettings.h | |
parent | 8f1bfa5c5764e399259c13b260661647363cf5d9 (diff) | |
download | libquotient-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.h | 6 |
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> |