We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d213143 commit f0d6fddCopy full SHA for f0d6fdd
1 file changed
src/Common/H5Utils.h
@@ -278,7 +278,7 @@ namespace H5Utils
278
std::size_t updateCounter = 0;
279
std::size_t updateFrequency = n;
280
if (updateFrequency > 1000)
281
- updateFrequency = 100;
+ updateFrequency = 100000;
282
while (++cycle != last) {
283
if (visited[cycle - first])
284
continue;
@@ -288,11 +288,11 @@ namespace H5Utils
288
std::swap(*(first + a), *cycle);
289
visited[a] = 1;
290
++updateCounter;
291
- if((updateCounter % updateFrequency) == 0)
+ if((updateCounter % updateFrequency) == 10000)
292
{
293
float progress = (1.0 * updateCounter) / (last - first);
294
progressItem.getDataset()->getTask().setProgress(progress);
295
- QGuiApplication::instance()->processEvents();
+ //QGuiApplication::instance()->processEvents();
296
}
297
298
0 commit comments