mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
@@ -57,7 +57,7 @@ bool LedDeviceAtmoOrb::init(const QJsonObject &deviceConfig)
|
||||
|
||||
_orbIds.clear();
|
||||
|
||||
foreach(auto & id_str, orbIds)
|
||||
for(auto & id_str : orbIds)
|
||||
{
|
||||
bool ok;
|
||||
int id = id_str.toInt(&ok);
|
||||
|
@@ -205,7 +205,7 @@ bool LedDeviceNanoleaf::initLeds()
|
||||
std::map<uint, std::map<uint, uint>> panelMap;
|
||||
|
||||
// Loop over all children.
|
||||
foreach (const QJsonValue & value, positionData)
|
||||
for (const QJsonValue & value : positionData)
|
||||
{
|
||||
QJsonObject panelObj = value.toObject();
|
||||
|
||||
|
Reference in New Issue
Block a user