mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-11 06:07:45 +02:00
2020-08-19 Fred Gleason <fredg@paravelsystems.com>
* Fixed compiler warnings in 'lib/rdsettings.cpp' and 'lib/rdstation.cpp'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
c5de016536
commit
e331f2bf38
@ -20265,3 +20265,6 @@
|
||||
* Changed the contents of the 'FEEDS.PURGE_PASSWORD' database
|
||||
field from plaintext to Base64 encoding.
|
||||
* Incremented the database version to 334.
|
||||
2020-08-19 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed compiler warnings in 'lib/rdsettings.cpp' and
|
||||
'lib/rdstation.cpp'.
|
||||
|
@ -138,8 +138,6 @@ void RDSettings::setAutotrimLevel(int level)
|
||||
|
||||
QString RDSettings::description()
|
||||
{
|
||||
QString sql;
|
||||
RDSqlQuery *q;
|
||||
QString desc;
|
||||
QString sr=QString().sprintf("%d S/sec",set_sample_rate);
|
||||
switch(set_format) {
|
||||
@ -147,6 +145,10 @@ QString RDSettings::description()
|
||||
desc="PCM16, ";
|
||||
break;
|
||||
|
||||
case RDSettings::Pcm24:
|
||||
desc="PCM24, ";
|
||||
break;
|
||||
|
||||
case RDSettings::MpegL1:
|
||||
desc="MPEG L1, ";
|
||||
if(set_bit_rate==0) {
|
||||
@ -158,6 +160,7 @@ QString RDSettings::description()
|
||||
break;
|
||||
|
||||
case RDSettings::MpegL2:
|
||||
case RDSettings::MpegL2Wav:
|
||||
desc="MPEG L2, ";
|
||||
if(set_bit_rate==0) {
|
||||
desc+=QString().sprintf("Qual %d, ",set_quality);
|
||||
|
@ -1901,7 +1901,6 @@ void RDStation::remove(const QString &name)
|
||||
{
|
||||
QString sql;
|
||||
RDSqlQuery *q;
|
||||
RDSqlQuery *q1;
|
||||
|
||||
sql=QString("delete from DECKS where ")+
|
||||
"STATION_NAME=\""+RDEscapeString(name)+"\"";
|
||||
|
Loading…
x
Reference in New Issue
Block a user