diff options
author | jan Iversen <jani@apache.org> | 2019-02-11 20:27:30 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-05 11:48:26 -0800 |
commit | 90b8ccb705ff20f742d6905587eeb93e5943e1f2 (patch) | |
tree | c5aedeff06c71dc4346589eabb28bcd668bc0a40 /core/settings/qPrefProxy.h | |
parent | 653a2baf111284171f0a2d25d6d9a0e82979f6d1 (diff) | |
download | subsurface-90b8ccb705ff20f742d6905587eeb93e5943e1f2.tar.gz |
core/settings: remove Q_PROPERTY warning in qPref headers
Q_PROPERTY contains an internal ";", making clang produce a warning
when ending the line with a ;
Remove ; at the end of Q_PROPERTY lines.
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings/qPrefProxy.h')
-rw-r--r-- | core/settings/qPrefProxy.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/settings/qPrefProxy.h b/core/settings/qPrefProxy.h index c12c07a2b..d5328d0d5 100644 --- a/core/settings/qPrefProxy.h +++ b/core/settings/qPrefProxy.h @@ -8,12 +8,12 @@ class qPrefProxy : public QObject { Q_OBJECT - Q_PROPERTY(bool proxy_auth READ proxy_auth WRITE set_proxy_auth NOTIFY proxy_authChanged); - Q_PROPERTY(QString proxy_host READ proxy_host WRITE set_proxy_host NOTIFY proxy_hostChanged); - Q_PROPERTY(QString proxy_pass READ proxy_pass WRITE set_proxy_pass NOTIFY proxy_passChanged); - Q_PROPERTY(int proxy_port READ proxy_port WRITE set_proxy_port NOTIFY proxy_portChanged); - Q_PROPERTY(int proxy_type READ proxy_type WRITE set_proxy_type NOTIFY proxy_typeChanged); - Q_PROPERTY(QString proxy_user READ proxy_user WRITE set_proxy_user NOTIFY proxy_userChanged); + Q_PROPERTY(bool proxy_auth READ proxy_auth WRITE set_proxy_auth NOTIFY proxy_authChanged) + Q_PROPERTY(QString proxy_host READ proxy_host WRITE set_proxy_host NOTIFY proxy_hostChanged) + Q_PROPERTY(QString proxy_pass READ proxy_pass WRITE set_proxy_pass NOTIFY proxy_passChanged) + Q_PROPERTY(int proxy_port READ proxy_port WRITE set_proxy_port NOTIFY proxy_portChanged) + Q_PROPERTY(int proxy_type READ proxy_type WRITE set_proxy_type NOTIFY proxy_typeChanged) + Q_PROPERTY(QString proxy_user READ proxy_user WRITE set_proxy_user NOTIFY proxy_userChanged) public: static qPrefProxy *instance(); |