mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Fix reopened issue 993 (#1062)
This commit is contained in:
@@ -72,12 +72,10 @@ bool JsonCB::subscribeFor(const QString& type, bool unsubscribe)
|
||||
|
||||
if(type == "priorities-update")
|
||||
{
|
||||
if(unsubscribe){
|
||||
if (unsubscribe)
|
||||
disconnect(_prioMuxer,0 ,0 ,0);
|
||||
} else {
|
||||
else
|
||||
connect(_prioMuxer, &PriorityMuxer::prioritiesChanged, this, &JsonCB::handlePriorityUpdate, Qt::UniqueConnection);
|
||||
connect(_prioMuxer, &PriorityMuxer::autoSelectChanged, this, &JsonCB::handlePriorityUpdate, Qt::UniqueConnection);
|
||||
}
|
||||
}
|
||||
|
||||
if(type == "imageToLedMapping-update")
|
||||
|
Reference in New Issue
Block a user