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

Fix typo


Includes
This commit is contained in:
Magne Sjaastad committed 2020-10-13 05:38:04 -04:00
1 parent ef1b5a3d89
commit 03f659df0c
38 files changed
+133 -232

No files matched your search

@@ -22,6 +22,7 @@
#include "RicScriptFeatureImpl.h"
#include "RiaApplication.h"
#include "RiaLogging.h"
#include "RimCalcScript.h"
#include "Riu3DMainWindowTools.h"
@@ -30,7 +31,6 @@
#include "cvfAssert.h"
#include <QAction>
#include <QMessageBox>
CAF_CMD_SOURCE_INIT( RicEditScriptFeature, "RicEditScriptFeature" );
@@ -66,9 +66,9 @@ void RicEditScriptFeature::onActionTriggered( bool isChecked )
if ( !myProcess->waitForStarted( 1000 ) )
{
QMessageBox::warning( Riu3DMainWindowTools::mainWindowWidget(),
"Script editor",
"Failed to start script editor executable\n" + scriptEditor );
RiaLogging::errorInMessageBox( Riu3DMainWindowTools::mainWindowWidget(),
"Script editor",
"Failed to start script editor executable\n" + scriptEditor );
}
}
}