(#335) Showing field name and component name in progress bar

Showing field name and component name in progress bar when loading
results.
This commit is contained in:
Pål Hagen 2015-06-29 10:24:44 +02:00
parent e5bb58b269
commit fb195dbd4b

View File

@ -96,9 +96,9 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::findOrLoadScalarResult(in
resultsForEachComponent.push_back(m_femPartResults[partIndex]->createScalarResult(resultAddressOfComponents[cIdx]));
}
int frameCount = this->frameCount();
caf::ProgressInfo progress(frameCount, "Loading Results");
int frameCount = this->frameCount();
caf::ProgressInfo progress(frameCount, "");
progress.setProgressDescription(QString("Loading %1 %2").arg(resVarAddr.fieldName.c_str(), resVarAddr.componentName.c_str()));
for (int stepIndex = 0; stepIndex < frameCount; ++stepIndex)
{