#6771 Regression Test: Replace QMessageBox with RiaLogging::errorInMessageBox

Fix typo


Includes
This commit is contained in:
Magne Sjaastad
2020-10-13 11:19:51 +02:00
parent ef1b5a3d89
commit 03f659df0c
38 changed files with 133 additions and 232 deletions

View File

@@ -18,21 +18,21 @@
#include "RicNewIntersectionViewFeature.h"
#include "RiaLogging.h"
#include "Rim2dIntersectionView.h"
#include "RimCase.h"
#include "RimExtrudedCurveIntersection.h"
#include "Riu3DMainWindowTools.h"
#include "Riu3dSelectionManager.h"
#include "RiuViewer.h"
#include "cafSelectionManagerTools.h"
#include <QAction>
#include <QMessageBox>
#include "RiuViewer.h"
#include "cvfCamera.h"
#include <QAction>
CAF_CMD_SOURCE_INIT( RicNewIntersectionViewFeature, "RicNewIntersectionViewFeature" );
//--------------------------------------------------------------------------------------------------
@@ -69,7 +69,7 @@ void RicNewIntersectionViewFeature::onActionTriggered( bool isChecked )
"in the view ." )
.arg( intersection->name() );
QMessageBox::warning( Riu3DMainWindowTools::mainWindowWidget(), "New Intersection View", text );
RiaLogging::errorInMessageBox( Riu3DMainWindowTools::mainWindowWidget(), "New Intersection View", text );
}
Rim2dIntersectionView* intersectionView = intersection->correspondingIntersectionView();