#4847 Move setFixedWindowSizeFor3dViews to RiuMainWindowTools

This commit is contained in:
Magne Sjaastad
2019-10-11 08:54:23 +02:00
parent 69ff4d25f2
commit 4bfcf86962
5 changed files with 63 additions and 75 deletions

View File

@@ -867,8 +867,7 @@ RiaApplication::ApplicationStatus RiaGuiApplication::handleArguments( cvf::Progr
if ( snapshotHeight > -1 && snapshotWidth > -1 )
{
QSize windowSize( snapshotWidth, snapshotHeight );
RiaRegressionTestRunner::setFixedWindowSizeFor3dViews( windowSize );
RiuMainWindowTools::setFixedWindowSizeFor3dViews( mainWnd, snapshotWidth, snapshotHeight );
}
processEvents();