mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 08:31:16 +02:00
2021-02-24 Fred Gleason <fredg@paravelsystems.com>
* Updated build system to use Qt5 instead of Qt4. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -91,7 +91,7 @@ MainObject::MainObject(QObject *parent)
|
||||
//
|
||||
// Read Command Options
|
||||
//
|
||||
new RDCmdSwitch(qApp->argc(),qApp->argv(),"caed",CAED_USAGE);
|
||||
new RDCmdSwitch("caed",CAED_USAGE);
|
||||
|
||||
//
|
||||
// LogLine references rd_config
|
||||
@@ -108,9 +108,9 @@ MainObject::MainObject(QObject *parent)
|
||||
debug=false;
|
||||
twolame_handle=NULL;
|
||||
mad_handle=NULL;
|
||||
if(qApp->argc()>1) {
|
||||
for(int i=1;i<qApp->argc();i++) {
|
||||
if(!strcmp(qApp->argv()[i],"-d")) {
|
||||
if(qApp->arguments().size()>1) {
|
||||
for(int i=1;i<qApp->arguments().size();i++) {
|
||||
if(qApp->arguments().at(i)=="-d") {
|
||||
debug=true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user