Commit 1f7dd67a authored by Marco Martin's avatar Marco Martin
Browse files

fix setLowPrioritySensorIds

parent 7f77bbd3
......@@ -331,7 +331,7 @@ void SensorFaceController::setHighPrioritySensorIds(const QJsonArray &highPriori
{
QJsonArray resolvedSensors = d->resolveSensors(highPrioritySensorIds);
if (resolvedSensors == SensorFaceController::highPrioritySensorIds()) {
if (resolvedSensors == d->highPrioritySensorIds) {
return;
}
d->highPrioritySensorIds = resolvedSensors;
......@@ -376,8 +376,7 @@ QJsonArray SensorFaceController::lowPrioritySensorIds() const
void SensorFaceController::setLowPrioritySensorIds(const QJsonArray &lowPrioritySensorIds)
{
QJsonArray resolvedSensors = d->resolveSensors(lowPrioritySensorIds);
if (d->lowPrioritySensorIds == SensorFaceController::lowPrioritySensorIds()) {
if (resolvedSensors == d->lowPrioritySensorIds) {
return;
}
d->lowPrioritySensorIds = lowPrioritySensorIds;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment