mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-17 16:11:12 +02:00
2022-04-01 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogmanager(1) where attempting to generate a SoundExchange Statutory License report using the command-line option would cause a crash. * Added an '-h' option to rdlogmanager(1). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -31,7 +31,8 @@
|
||||
#include "rdreport.h"
|
||||
|
||||
bool RDReport::ExportSoundEx(const QString &filename,const QDate &startdate,
|
||||
const QDate &enddate,const QString &mixtable)
|
||||
const QDate &enddate,double ath,
|
||||
const QString &mixtable)
|
||||
{
|
||||
QString sql;
|
||||
RDSqlQuery *q;
|
||||
@@ -49,11 +50,12 @@ bool RDReport::ExportSoundEx(const QString &filename,const QDate &startdate,
|
||||
//
|
||||
// Get ATH Value
|
||||
//
|
||||
double ath=0.0;
|
||||
RDGetAth *getath=new RDGetAth(&ath);
|
||||
if(getath->exec()<0) {
|
||||
report_error_code=RDReport::ErrorCanceled;
|
||||
return false;
|
||||
if(ath<0.0) {
|
||||
RDGetAth *getath=new RDGetAth(&ath);
|
||||
if(getath->exec()<0) {
|
||||
report_error_code=RDReport::ErrorCanceled;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
QFile *file=new QFile(filename);
|
||||
|
Reference in New Issue
Block a user