mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
2018-11-30 Fred Gleason <fredg@paravelsystems.com>
* Added a 'STATIONS.REPORT_EDITOR_PATH' field to the database. * Incremented the database version to 302. * Added a 'Report Editor' control to the 'Edit Host' dialog in rdadmin(1). * Modified the report generator to use the editor specified in the 'Report Editor' control rather than than the value of the $VISUAL environmental variable.
This commit is contained in:
@@ -257,6 +257,19 @@ void RDStation::setEditorPath(const QString &cmd)
|
||||
}
|
||||
|
||||
|
||||
QString RDStation::reportEditorPath() const
|
||||
{
|
||||
return RDGetSqlValue("STATIONS","NAME",station_name,"REPORT_EDITOR_PATH").
|
||||
toString();
|
||||
}
|
||||
|
||||
|
||||
void RDStation::setReportEditorPath(const QString &cmd)
|
||||
{
|
||||
SetRow("REPORT_EDITOR_PATH",cmd);
|
||||
}
|
||||
|
||||
|
||||
RDStation::FilterMode RDStation::filterMode() const
|
||||
{
|
||||
return (RDStation::FilterMode)RDGetSqlValue("STATIONS","NAME",station_name,
|
||||
|
||||
Reference in New Issue
Block a user