path: root/src
diff options
authorThomas McGuire <>2013-04-10 08:58:06 +0200
committerThe Qt Project <>2013-04-11 08:59:49 +0200
commit8c9b27b1d01aab98ed5e283499654a74a1551d92 (patch)
tree11f93c17b9a67d150974129d610757ace11cd776 /src
parent5725577a0cde3ca1efb7194dd79375c503fb83ed (diff)
Remove REVISION 1 from alwaysOn property.
This is a leftover from QtMobility and has been available since Qt 5.0. Change-Id: I68300b402aa04f2ca9e9b609cc859327c26e1a8f Reviewed-by: Bernd Weimer <> Reviewed-by: Lorn Potter <>
Diffstat (limited to 'src')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sensors/qsensor.h b/src/sensors/qsensor.h
index 2314fb94..2b602488 100644
--- a/src/sensors/qsensor.h
+++ b/src/sensors/qsensor.h
@@ -90,7 +90,7 @@ class Q_SENSORS_EXPORT QSensor : public QObject
Q_PROPERTY(int outputRange READ outputRange WRITE setOutputRange)
Q_PROPERTY(QString description READ description)
Q_PROPERTY(int error READ error NOTIFY sensorError)
- Q_PROPERTY(bool alwaysOn READ isAlwaysOn WRITE setAlwaysOn NOTIFY alwaysOnChanged REVISION 1)
+ Q_PROPERTY(bool alwaysOn READ isAlwaysOn WRITE setAlwaysOn NOTIFY alwaysOnChanged)
Q_PROPERTY(bool skipDuplicates READ skipDuplicates WRITE setSkipDuplicates NOTIFY skipDuplicatesChanged)
Q_PROPERTY(AxesOrientationMode axesOrientationMode READ axesOrientationMode WRITE setAxesOrientationMode NOTIFY axesOrientationModeChanged)
Q_PROPERTY(int currentOrientation READ currentOrientation NOTIFY currentOrientationChanged)