Salome HOME
debug an abort on progress bar show: experiment on progress bar control
[modules/hydro.git] / src / HYDROData / HYDROData_CalculationCase.cxx
index 80d8592130930abb7b468649139a754cdc926ee5..9e79b797b9d2a6f6cd75b4fbc61124752b9cc201 100755 (executable)
@@ -1101,7 +1101,7 @@ NCollection_Sequence<double> HYDROData_CalculationCase::GetAltitudesForPoints(
   while( aFuture.isRunning() ) {
     if ( aZIProgress ) {
       aZIProgress->Show( Standard_True );
-      QThread::usleep(500);
+      QThread::msleep(200);
     }
   }
   //DEBTRACE("aZIProgress=" << aZIProgress);
@@ -1166,7 +1166,7 @@ std::vector<double> HYDROData_CalculationCase::GetStricklerCoefficientForPoints(
   while( aFuture.isRunning() ) {
     if ( aSIProgress ) {
       aSIProgress->Show( Standard_True );
-      QThread::usleep(500);
+      QThread::msleep(200);
     }
   }