Respect the showColors option...

This commit is contained in:
Conrad Irwin 2011-07-15 18:07:43 -07:00
parent da08c96af6
commit f4a8458246

View File

@ -381,7 +381,7 @@ int main(int argc, char** argv)
QApplication app(argc, argv); QApplication app(argc, argv);
HeadlessSpecRunner runner; HeadlessSpecRunner runner;
runner.setColors(true); runner.setColors(showColors);
runner.reportFile(reporter); runner.reportFile(reporter);
for (index = optind; index < argc; index++) { for (index = optind; index < argc; index++) {