mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-17 16:11:12 +02:00
2021-01-20 Fred Gleason <fredg@paravelsystems.com>
* Split the 'RDApplication' class into the base class 'RDCoreApplication' and 'RDApplication'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -51,7 +51,7 @@ Xport::Xport(QObject *parent)
|
||||
//
|
||||
// Open the Database
|
||||
//
|
||||
rda=new RDApplication("rdxport.cgi","rdxport.cgi",RDXPORT_CGI_USAGE,this);
|
||||
rda=static_cast<RDApplication *>(new RDCoreApplication("rdxport.cgi","rdxport.cgi",RDXPORT_CGI_USAGE,this));
|
||||
if(!rda->open(&err_msg,NULL,false)) {
|
||||
printf("Content-type: text/html\n");
|
||||
printf("Status: 500\n");
|
||||
@@ -475,7 +475,7 @@ void Xport::XmlExit(const QString &str,int code,const QString &srcfile,
|
||||
|
||||
int main(int argc,char *argv[])
|
||||
{
|
||||
QApplication a(argc,argv,false);
|
||||
QCoreApplication a(argc,argv,false);
|
||||
new Xport();
|
||||
return a.exec();
|
||||
}
|
||||
|
Reference in New Issue
Block a user