Skip to content

Commit

Permalink
~ debug dump fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mellotanica committed Apr 28, 2015
1 parent 3605749 commit 7e92cfe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qarm/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ int main(int argn, char **argv){
QApplication app(argn, argv);
readConfigs();
//FIXME: ugly debug dump
MC_Holder::getInstance()->dumpExecution = false;
if(argn > 1){
for(i = 1; i < argn; i++){
if(!strcmp(argv[i], "--dumpExec") && i < (argn - 1)){
Expand All @@ -66,8 +67,6 @@ int main(int argn, char **argv){
fclose(f);
break;
}
else
MC_Holder::getInstance()->dumpExecution = false;
}
}
app.setFont(monoLabel::getMonospaceFont(), "procDisplay");
Expand Down

0 comments on commit 7e92cfe

Please sign in to comment.