Slight progress-bar improvement

This commit is contained in:
Jacob Støren 2015-09-28 08:21:51 +02:00
parent 5677665dba
commit 30f3796bab

View File

@ -369,7 +369,7 @@ bool RiaApplication::loadProject(const QString& projectFileName, ProjectLoadActi
// Add all "native" cases in the project
std::vector<RimCase*> casesToLoad;
m_project->allCases(casesToLoad);
{
caf::ProgressInfo caseProgress(casesToLoad.size(), "Reading Cases");
for (size_t cIdx = 0; cIdx < casesToLoad.size(); ++cIdx)
@ -396,7 +396,7 @@ bool RiaApplication::loadProject(const QString& projectFileName, ProjectLoadActi
caseProgress.incrementProgress();
}
}
{
if (m_project->mainPlotCollection() && m_project->mainPlotCollection()->wellLogPlotCollection())
{