mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-13 06:03:37 +02:00
2018-08-07 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'pam_rd' plug-in. * Removed rdchunk(1). * Upgraded Qt3 to Qt4.
This commit is contained in:
@@ -36,7 +36,7 @@ MainObject::MainObject(QObject *parent)
|
||||
QString date="";
|
||||
QString datetime="";
|
||||
QString service="";
|
||||
unsigned schema=0;
|
||||
int schema=0;
|
||||
|
||||
//
|
||||
// Read Command Options
|
||||
@@ -84,8 +84,7 @@ MainObject::MainObject(QObject *parent)
|
||||
// Open Database
|
||||
//
|
||||
QString err (tr("datedecode_test: "));
|
||||
QSqlDatabase *db=RDInitDb(&schema,&err);
|
||||
if(!db) {
|
||||
if(!RDOpenDb(&schema,&err,config)) {
|
||||
fprintf(stderr,err.ascii());
|
||||
delete cmd;
|
||||
exit(256);
|
||||
|
Reference in New Issue
Block a user