Added hide all dockwidgets, used before executing regression tests

p4#: 20442
This commit is contained in:
Magne Sjaastad
2013-02-11 11:47:45 +01:00
parent 4155bd821f
commit e343dc73b4
3 changed files with 21 additions and 0 deletions

View File

@@ -765,6 +765,12 @@ bool RIApplication::parseArguments()
if (isRunRegressionTest)
{
RIMainWindow* mainWnd = RIMainWindow::instance();
if (mainWnd)
{
mainWnd->hideAllDockWindows();
}
runRegressionTest(regressionTestPath);
return false;