Report finished in all cases.

This commit is contained in:
dt
2009-05-25 17:09:38 +02:00
parent 6bb5e2e786
commit 19f7f99b61

View File

@@ -79,6 +79,8 @@ void MakeStep::run(QFutureInterface<bool> &fi)
m_futureInterface = &fi; m_futureInterface = &fi;
m_futureInterface->setProgressRange(0, 100); m_futureInterface->setProgressRange(0, 100);
AbstractMakeStep::run(fi); AbstractMakeStep::run(fi);
m_futureInterface->setProgressValue(100);
m_futureInterface->reportFinished();
m_futureInterface = 0; m_futureInterface = 0;
} }