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:
Fred Gleason
2017-10-15 10:40:29 -04:00
parent ee211e5fca
commit 52d1d8be52
58 changed files with 600 additions and 506 deletions

View File

@@ -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;