2021-07-08 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in the 'Add Recording' dialog in rdcatch(1)
	that threw a SQL error.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-07-08 16:28:21 -04:00
parent 2eebe72877
commit cbdf0a4735
2 changed files with 4 additions and 1 deletions

View File

@ -22030,3 +22030,6 @@
* Fixed a regression in rdimport(1) that caused it to repeatedly
re-import files in dropbox mode when the '--delete-source' switch
was set.
2021-07-08 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in the 'Add Recording' dialog in rdcatch(1)
that threw a SQL error.

View File

@ -77,7 +77,7 @@ AddRecording::AddRecording(QString *filter,QWidget *parent)
button->setFont(buttonFont());
button->setText(tr("Playout"));
button->setDisabled(true);
sql=QString("select `CHANNEL` from `DECKS` where (`CARD`_NUMBER`>=0)&&")+
sql=QString("select `CHANNEL` from `DECKS` where (`CARD_NUMBER`>=0)&&")+
"(`PORT_NUMBER`>=0)&&(`CHANNEL`>128)&&(`CHANNEL`<=137)";
q=new RDSqlQuery(sql);
if(q->first()) {