From 90b8ccb705ff20f742d6905587eeb93e5943e1f2 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Mon, 11 Feb 2019 20:27:30 +0100 Subject: 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 --- core/settings/qPrefLanguage.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'core/settings/qPrefLanguage.h') 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(); -- cgit v1.2.3-70-g09d2