2022-10-30 Fred Gleason <fredg@paravelsystems.com>

* Refactored rdcatch(1) to use the notification mechanism instead of
	the 'PurgeEvent' command.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-10-30 16:52:44 -04:00
parent 6bc518b515
commit 96dc57685c
6 changed files with 9 additions and 67 deletions

View File

@@ -805,10 +805,6 @@ void MainWidget::catchEventReceivedData(RDCatchEvent *evt)
// printf("%s\n",evt->dump().toUtf8().constData());
switch(evt->operation()) {
case RDCatchEvent::PurgeEventOp:
catch_recordings_model->removeRecord(evt->eventId());
break;
case RDCatchEvent::DeckStatusResponseOp:
if(evt->eventId()>0) {
if(!catch_recordings_model->refresh(evt->eventId())) {