[Compbench-devel] CompBenchmarks++/Qt-4 main.cpp,1.12,1.13
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-09-12 18:59:24
|
Update of /cvsroot/compbench/CompBenchmarks++/Qt-4 In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv23317 Modified Files: main.cpp Log Message: Compiler autodection message handling. Index: main.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/Qt-4/main.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** main.cpp 12 Sep 2007 17:50:17 -0000 1.12 --- main.cpp 12 Sep 2007 18:59:21 -0000 1.13 *************** *** 86,115 **** CBM::CompilerSelector SC(CBM::cbmSystem); CBM::Compiler *C; int i; ! /* CBM::cbmUI->Information(CBM::UI::CompilerAutodetect, ! "", ! CBM::UI::Start); ! */ - /* for(i=0; i<known_compiler_number; i++) { C=SC.select(known_compilers[i]); if (C) { ! App->compilerRegister(C); ! } ! CBM::cbmUI->Information(CBM::UI::CompilerAutodetect, ! "", ! CBM::UI::Running, ! (float) (i*100)/known_compiler_number); } ! CBM::cbmUI->Information(CBM::UI::CompilerAutodetect, ! "", ! CBM::UI::OK); if (parent()) parent()->deleteLater(); - */ } --- 86,106 ---- CBM::CompilerSelector SC(CBM::cbmSystem); CBM::Compiler *C; + CBM::UIMsg *msg; int i; ! msg=CBM::cbmUI->msgCompilerAutodetect(); for(i=0; i<known_compiler_number; i++) { C=SC.select(known_compilers[i]); if (C) { ! App->compilerRegister(C); ! } ! msg->setProgress((float) ((i*100.0)/known_compiler_number)); } ! CBM::cbmUI->outputOK(); if (parent()) parent()->deleteLater(); } *************** *** 290,296 **** // W->show(); ! /* T=new PackageInstallThread(_package); ! T->start(); ! */ } --- 281,286 ---- // W->show(); ! T=new PackageInstallThread(_package); ! T->start(); } |