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/qPrefUnit.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'core/settings/qPrefUnit.h') diff --git a/core/settings/qPrefUnit.h b/core/settings/qPrefUnit.h index 0594b4f69..6a800fbfa 100644 --- a/core/settings/qPrefUnit.h +++ b/core/settings/qPrefUnit.h @@ -8,16 +8,16 @@ class qPrefUnits : public QObject { Q_OBJECT - Q_PROPERTY(bool coordinates_traditional READ coordinates_traditional WRITE set_coordinates_traditional NOTIFY coordinates_traditionalChanged); - Q_PROPERTY(units::DURATION duration_units READ duration_units WRITE set_duration_units NOTIFY duration_unitsChanged); - Q_PROPERTY(units::LENGTH length READ length WRITE set_length NOTIFY lengthChanged); - Q_PROPERTY(units::PRESSURE pressure READ pressure WRITE set_pressure NOTIFY pressureChanged); - Q_PROPERTY(bool show_units_table READ show_units_table WRITE set_show_units_table NOTIFY show_units_tableChanged); - Q_PROPERTY(units::TEMPERATURE temperature READ temperature WRITE set_temperature NOTIFY temperatureChanged); - Q_PROPERTY(QString unit_system READ unit_system WRITE set_unit_system NOTIFY unit_systemChanged); - Q_PROPERTY(units::TIME vertical_speed_time READ vertical_speed_time WRITE set_vertical_speed_time NOTIFY vertical_speed_timeChanged); - Q_PROPERTY(units::VOLUME volume READ volume WRITE set_volume NOTIFY volumeChanged); - Q_PROPERTY(units::WEIGHT weight READ weight WRITE set_weight NOTIFY weightChanged); + Q_PROPERTY(bool coordinates_traditional READ coordinates_traditional WRITE set_coordinates_traditional NOTIFY coordinates_traditionalChanged) + Q_PROPERTY(units::DURATION duration_units READ duration_units WRITE set_duration_units NOTIFY duration_unitsChanged) + Q_PROPERTY(units::LENGTH length READ length WRITE set_length NOTIFY lengthChanged) + Q_PROPERTY(units::PRESSURE pressure READ pressure WRITE set_pressure NOTIFY pressureChanged) + Q_PROPERTY(bool show_units_table READ show_units_table WRITE set_show_units_table NOTIFY show_units_tableChanged) + Q_PROPERTY(units::TEMPERATURE temperature READ temperature WRITE set_temperature NOTIFY temperatureChanged) + Q_PROPERTY(QString unit_system READ unit_system WRITE set_unit_system NOTIFY unit_systemChanged) + Q_PROPERTY(units::TIME vertical_speed_time READ vertical_speed_time WRITE set_vertical_speed_time NOTIFY vertical_speed_timeChanged) + Q_PROPERTY(units::VOLUME volume READ volume WRITE set_volume NOTIFY volumeChanged) + Q_PROPERTY(units::WEIGHT weight READ weight WRITE set_weight NOTIFY weightChanged) public: static qPrefUnits *instance(); -- cgit v1.2.3-70-g09d2