summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLasse Holmstedt <lasse.holmstedt@nokia.com>2012-03-24 15:53:46 +0100
committerMatthias Ettrich <matthias.ettrich@nokia.com>2012-03-24 16:02:39 +0100
commit501c3dd8feaf738ade11ad825a8ac80c64fb19a2 (patch)
treea4d0d21d4cb44cd7b5a05f4e143df18d38bc50ad
parent34f27402a2b09e70d74a2e9caad860e17b9bd505 (diff)
Fix property type
Change-Id: I43cafb1dac4e202df6899b985802088fd2444dc4 Reviewed-by: Matthias Ettrich <matthias.ettrich@nokia.com>
-rw-r--r--src/core/cpuidledelegate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cpuidledelegate.h b/src/core/cpuidledelegate.h
index 3bc7c65..4e3ec9a 100644
--- a/src/core/cpuidledelegate.h
+++ b/src/core/cpuidledelegate.h
@@ -51,7 +51,7 @@ class Q_ADDON_PROCESSMANAGER_EXPORT CpuIdleDelegate : public IdleDelegate
{
Q_OBJECT
Q_PROPERTY(int idleInterval READ idleInterval WRITE setIdleInterval NOTIFY idleIntervalChanged)
- Q_PROPERTY(int loadThreshold READ loadThreshold WRITE setLoadThreshold NOTIFY loadThresholdChanged)
+ Q_PROPERTY(double loadThreshold READ loadThreshold WRITE setLoadThreshold NOTIFY loadThresholdChanged)
public:
explicit CpuIdleDelegate(QObject *parent = 0);