mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-20 15:41:23 +01: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:
@@ -24248,3 +24248,7 @@
|
|||||||
2023-06-21 Fred Gleason <fredg@paravelsystems.com>
|
2023-06-21 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Fixed a bug in rdcatchd(8) that would cause a segfault after
|
* Fixed a bug in rdcatchd(8) that would cause a segfault after
|
||||||
reception of a 'Start Record Deck' ['RS'] RML.
|
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)
|
void RecordListModel::setRecordStatus(unsigned rec_id,RDDeck::Status status)
|
||||||
{
|
{
|
||||||
int index=d_ids.indexOf(rec_id);
|
int index=d_ids.indexOf(rec_id);
|
||||||
|
|
||||||
if(index>=0) {
|
if(index>=0) {
|
||||||
if(d_statuses.at(index)!=status) {
|
if(d_statuses.at(index)!=status) {
|
||||||
d_statuses[index]=status;
|
d_statuses[index]=status;
|
||||||
@@ -364,6 +363,10 @@ void RecordListModel::channelCounts(int chan,int *waiting,int *active,
|
|||||||
|
|
||||||
QModelIndex RecordListModel::addRecord(unsigned id)
|
QModelIndex RecordListModel::addRecord(unsigned id)
|
||||||
{
|
{
|
||||||
|
if(id>=RDCATCHD_DYNAMIC_BASE_ID) {
|
||||||
|
return QModelIndex(); // Don't process dynamic record events!
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Find the insertion offset
|
// Find the insertion offset
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user