mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-19 14:43:30 +02:00
2023-06-21 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdcatch(1) that caused a phantom event entry to appear in the Event List while processing the 'Start Record Deck' ['RS'] RML. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
f36fdc573d
commit
b6c49a5296
@ -24248,3 +24248,7 @@
|
||||
2023-06-21 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in rdcatchd(8) that would cause a segfault after
|
||||
reception of a 'Start Record Deck' ['RS'] RML.
|
||||
2023-06-21 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a regression in rdcatch(1) that caused a phantom event
|
||||
entry to appear in the Event List while processing the
|
||||
'Start Record Deck' ['RS'] RML.
|
||||
|
@ -319,7 +319,6 @@ void RecordListModel::setRecordStatus(const QModelIndex &row,
|
||||
void RecordListModel::setRecordStatus(unsigned rec_id,RDDeck::Status status)
|
||||
{
|
||||
int index=d_ids.indexOf(rec_id);
|
||||
|
||||
if(index>=0) {
|
||||
if(d_statuses.at(index)!=status) {
|
||||
d_statuses[index]=status;
|
||||
@ -364,6 +363,10 @@ void RecordListModel::channelCounts(int chan,int *waiting,int *active,
|
||||
|
||||
QModelIndex RecordListModel::addRecord(unsigned id)
|
||||
{
|
||||
if(id>=RDCATCHD_DYNAMIC_BASE_ID) {
|
||||
return QModelIndex(); // Don't process dynamic record events!
|
||||
}
|
||||
|
||||
//
|
||||
// Find the insertion offset
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user