Move ProgressBlocker creation to unit test launch method

This commit is contained in:
Gaute Lindkvist
2019-03-22 14:11:22 +01:00
parent 32419b1e00
commit ec525e8774
2 changed files with 2 additions and 10 deletions

View File

@@ -1330,6 +1330,8 @@ bool RiaApplication::parseArguments()
int RiaApplication::launchUnitTests()
{
#ifdef USE_UNIT_TESTS
caf::ProgressInfoBlocker progressBlocker;
cvf::Assert::setReportMode(cvf::Assert::CONSOLE);
#if QT_VERSION < 0x050000