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/qPrefLanguage.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/qPrefLanguage.h')
-rw-r--r-- | core/settings/qPrefLanguage.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/core/settings/qPrefLanguage.h b/core/settings/qPrefLanguage.h index a0dfffac8..9eb17c36f 100644 --- a/core/settings/qPrefLanguage.h +++ b/core/settings/qPrefLanguage.h @@ -7,14 +7,14 @@ class qPrefLanguage : public QObject { Q_OBJECT - Q_PROPERTY(QString date_format READ date_format WRITE set_date_format NOTIFY date_formatChanged); - Q_PROPERTY(bool date_format_override READ date_format_override WRITE set_date_format_override NOTIFY date_format_overrideChanged); - Q_PROPERTY(QString date_format_short READ date_format_short WRITE set_date_format_short NOTIFY date_format_shortChanged); - Q_PROPERTY(QString language READ language WRITE set_language NOTIFY languageChanged); - Q_PROPERTY(QString lang_locale READ lang_locale WRITE set_lang_locale NOTIFY lang_localeChanged); - Q_PROPERTY(QString time_format READ time_format WRITE set_time_format NOTIFY time_formatChanged); - Q_PROPERTY(bool time_format_override READ time_format_override WRITE set_time_format_override NOTIFY time_format_overrideChanged); - Q_PROPERTY(bool use_system_language READ use_system_language WRITE set_use_system_language NOTIFY use_system_languageChanged); + Q_PROPERTY(QString date_format READ date_format WRITE set_date_format NOTIFY date_formatChanged) + Q_PROPERTY(bool date_format_override READ date_format_override WRITE set_date_format_override NOTIFY date_format_overrideChanged) + Q_PROPERTY(QString date_format_short READ date_format_short WRITE set_date_format_short NOTIFY date_format_shortChanged) + Q_PROPERTY(QString language READ language WRITE set_language NOTIFY languageChanged) + Q_PROPERTY(QString lang_locale READ lang_locale WRITE set_lang_locale NOTIFY lang_localeChanged) + Q_PROPERTY(QString time_format READ time_format WRITE set_time_format NOTIFY time_formatChanged) + Q_PROPERTY(bool time_format_override READ time_format_override WRITE set_time_format_override NOTIFY time_format_overrideChanged) + Q_PROPERTY(bool use_system_language READ use_system_language WRITE set_use_system_language NOTIFY use_system_languageChanged) public: static qPrefLanguage *instance(); |