fixed uninitialiazed effect
This commit is contained in:
parent
ea8f37ef83
commit
9dbb943fab
@ -360,7 +360,7 @@ void IntegrationPluginLifx::executeAction(ThingActionInfo *info)
|
|||||||
}
|
}
|
||||||
QString effectString = action.param(colorBulbEffectActionEffectParamTypeId).value().toString();
|
QString effectString = action.param(colorBulbEffectActionEffectParamTypeId).value().toString();
|
||||||
int requestId;
|
int requestId;
|
||||||
LifxCloud::Effect effect;
|
LifxCloud::Effect effect = LifxCloud::EffectNone;
|
||||||
if (effectString == "None") {
|
if (effectString == "None") {
|
||||||
effect = LifxCloud::EffectNone;
|
effect = LifxCloud::EffectNone;
|
||||||
} else if (effectString == "Breathe") {
|
} else if (effectString == "Breathe") {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user