From a7b94516e1412073eb9d3fb57e49315ef966b183 Mon Sep 17 00:00:00 2001 From: Lorn Potter Date: Thu, 20 Aug 2015 16:00:05 +1000 Subject: Only register plugins that sensorfw plugin can instantiate This makes it possible to use Tilt sensor from generic plugin. Task-number: QTBUG-47854 Change-Id: I14883e8d4a18a56c52845a4a5172c8c46bfe385f Reviewed-by: Alex Blasche --- src/plugins/sensors/sensorfw/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/sensors/sensorfw/main.cpp b/src/plugins/sensors/sensorfw/main.cpp index b22b6474..9951f096 100644 --- a/src/plugins/sensors/sensorfw/main.cpp +++ b/src/plugins/sensors/sensorfw/main.cpp @@ -65,7 +65,8 @@ public: QStringList keys = settings.allKeys(); for (int i=0,l=keys.size(); i