mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 07:10:11 +01:00
2017-10-15 Fred Gleason <fredg@paravelsystems.com>
* Added a 'STATIONS.SHORT_NAME' field to the database. * Incremented the database version to 270. * Added 'RDStation::shortName()' and 'RDStation::setShortName()' methods. * Removed the 'Broadcast Security Model' control from the 'Edit Host' dialog. * Added a 'Short Name' control to the 'Edit Host' dialog. * Implemented a '%R' wildcard for Rivendell Host Short Name.
This commit is contained in:
@@ -36,8 +36,8 @@
|
||||
// for more information.
|
||||
//
|
||||
|
||||
bool RDReport::ExportNprSoundEx(const QDate &startdate,const QDate &enddate,
|
||||
const QString &mixtable)
|
||||
bool RDReport::ExportNprSoundEx(const QString &filename,const QDate &startdate,
|
||||
const QDate &enddate,const QString &mixtable)
|
||||
{
|
||||
QString sql;
|
||||
RDSqlQuery *q;
|
||||
@@ -50,13 +50,6 @@ bool RDReport::ExportNprSoundEx(const QDate &startdate,const QDate &enddate,
|
||||
QString trans_category=stationFormat();
|
||||
QString channel_name=stationId();
|
||||
|
||||
#ifdef WIN32
|
||||
QString filename=RDDateDecode(exportPath(RDReport::Windows),startdate,
|
||||
report_config,serviceName());
|
||||
#else
|
||||
QString filename=RDDateDecode(exportPath(RDReport::Linux),startdate,
|
||||
report_config,serviceName());
|
||||
#endif
|
||||
if((f=fopen(filename,"wb"))==NULL) {
|
||||
report_error_code=RDReport::ErrorCantOpen;
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user