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/qPrefLocationService.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/qPrefLocationService.h')
-rw-r--r-- | core/settings/qPrefLocationService.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/settings/qPrefLocationService.h b/core/settings/qPrefLocationService.h index c2c9c8bae..7a0c724a8 100644 --- a/core/settings/qPrefLocationService.h +++ b/core/settings/qPrefLocationService.h @@ -8,8 +8,8 @@ class qPrefLocationService : public QObject { Q_OBJECT - Q_PROPERTY(int distance_threshold READ distance_threshold WRITE set_distance_threshold NOTIFY distance_thresholdChanged); - Q_PROPERTY(int time_threshold READ time_threshold WRITE set_time_threshold NOTIFY time_thresholdChanged); + Q_PROPERTY(int distance_threshold READ distance_threshold WRITE set_distance_threshold NOTIFY distance_thresholdChanged) + Q_PROPERTY(int time_threshold READ time_threshold WRITE set_time_threshold NOTIFY time_thresholdChanged) public: static qPrefLocationService *instance(); |