[Hotfix] The modified priority was not registered

This commit is contained in:
Paulchen Panther 2019-08-03 10:59:08 +02:00 committed by Paulchen-Panther
parent cacfbada7a
commit 0f96fdaa61
No known key found for this signature in database
GPG Key ID: 84E3B692456B6840

View File

@ -196,7 +196,10 @@ void BoblightClientConnection::handleMessage(const QString & message)
_priority += 1; _priority += 1;
} }
// warn against invalid priority
Warning(_log, "The priority %i is not in the priority range between 128 and 253. Priority %i is used instead.", prio, _priority); Warning(_log, "The priority %i is not in the priority range between 128 and 253. Priority %i is used instead.", prio, _priority);
// register new priority (previously modified)
_hyperion->registerInput(_priority, hyperion::COMP_BOBLIGHTSERVER, QString("Boblight@%1").arg(_socket->peerAddress().toString()));
} }
else else
{ {