mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-15 17:11:25 +01:00
2021-02-23 Fred Gleason <fredg@paravelsystems.com>
* Removed the Qt3Support library from the build system. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -28,9 +28,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <qapplication.h>
|
||||
#include <qdir.h>
|
||||
#include <qfile.h>
|
||||
#include <QApplication>
|
||||
|
||||
#include <rd.h>
|
||||
#include <rdapplication.h>
|
||||
@@ -61,7 +59,7 @@ MainObject::MainObject(QObject *parent)
|
||||
//
|
||||
rda=static_cast<RDApplication *>(new RDCoreApplication("rdmaint","rdmaint",RDMAINT_USAGE,this));
|
||||
if(!rda->open(&err_msg)) {
|
||||
fprintf(stderr,"rdmaint: %s\n",(const char *)err_msg);
|
||||
fprintf(stderr,"rdmaint: %s\n",err_msg.toUtf8().constData());
|
||||
exit(1);
|
||||
}
|
||||
|
||||
@@ -85,7 +83,7 @@ MainObject::MainObject(QObject *parent)
|
||||
}
|
||||
if(!rda->cmdSwitch()->processed(i)) {
|
||||
fprintf(stderr,"rdmaint: unknown command option \"%s\"\n",
|
||||
(const char *)rda->cmdSwitch()->key(i));
|
||||
rda->cmdSwitch()->key(i).toUtf8().constData());
|
||||
exit(2);
|
||||
}
|
||||
}
|
||||
@@ -404,7 +402,7 @@ void MainObject::RehashCuts()
|
||||
else {
|
||||
if(maint_verbose) {
|
||||
fprintf(stderr,"rehashed cut \"%s\"\n",
|
||||
(const char *)q->value(0).toString());
|
||||
q->value(0).toString().toUtf8().constData());
|
||||
}
|
||||
}
|
||||
sleep(1);
|
||||
|
||||
Reference in New Issue
Block a user