From cb28e23fa09deb0dc8f332e3e6f93b7ad8478d4a Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Wed, 13 Dec 2023 23:58:45 +0000 Subject: [PATCH] fix: OSC control of client Pause/Resume does not function #304 --- src/Widgets/Rundown/RundownTreeWidget.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Widgets/Rundown/RundownTreeWidget.cpp b/src/Widgets/Rundown/RundownTreeWidget.cpp index f596ddac..e1ad0acb 100644 --- a/src/Widgets/Rundown/RundownTreeWidget.cpp +++ b/src/Widgets/Rundown/RundownTreeWidget.cpp @@ -1658,6 +1658,11 @@ void RundownTreeWidget::configureOscSubscriptions() QObject::connect(this->loadControlSubscription, SIGNAL(subscriptionReceived(const QString&, const QList&)), this, SLOT(loadControlSubscriptionReceived(const QString&, const QList&))); + QString pauseControlFilter = Osc::RUNDOWN_CONTROL_PAUSE_FILTER; + this->pauseControlSubscription = new OscSubscription(pauseControlFilter, this); + QObject::connect(this->pauseControlSubscription, SIGNAL(subscriptionReceived(const QString &, const QList &)), + this, SLOT(pauseControlSubscriptionReceived(const QString &, const QList &))); + QString nextControlFilter = Osc::RUNDOWN_CONTROL_NEXT_FILTER; this->nextControlSubscription = new OscSubscription(nextControlFilter, this); QObject::connect(this->nextControlSubscription, SIGNAL(subscriptionReceived(const QString&, const QList&)),