comparison ui/tests/cinstprocesstest.cpp @ 1060:317ee9dc4684

(issue46) Make debug output optional in cinst and mozilla and propagate its setting.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 09 Sep 2014 18:49:02 +0200
parents f89b41fa7048
children e3772d2810b3
comparison
equal deleted inserted replaced
1059:f638eb1f3b0f 1060:317ee9dc4684
30 processPath = candidate; 30 processPath = candidate;
31 break; 31 break;
32 } 32 }
33 } 33 }
34 34
35 QStringList newArgs = args;
36 newArgs << "--debug";
37
35 QProcess *installerProcess = new QProcess(); 38 QProcess *installerProcess = new QProcess();
36 installerProcess->setArguments(args); 39 installerProcess->setArguments(newArgs);
37 installerProcess->setProgram(processPath); 40 installerProcess->setProgram(processPath);
38 installerProcess->start(); 41 installerProcess->start();
39 installerProcess->waitForStarted(); 42 installerProcess->waitForStarted();
40 return installerProcess; 43 return installerProcess;
41 } 44 }

http://wald.intevation.org/projects/trustbridge/