mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6771 Regression Test: Replace QMessageBox with RiaLogging::errorInMessageBox
Fix typo Includes
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
|
||||
#include "RimFormationNames.h"
|
||||
|
||||
#include "RiaLogging.h"
|
||||
#include "RifColorLegendData.h"
|
||||
#include "RigFormationNames.h"
|
||||
|
||||
#include "Rim3dView.h"
|
||||
@@ -25,8 +27,6 @@
|
||||
#include "RimTools.h"
|
||||
#include "RimWellLogTrack.h"
|
||||
|
||||
#include "RifColorLegendData.h"
|
||||
|
||||
#include "RiuPlotMainWindowTools.h"
|
||||
|
||||
#include "cafAssert.h"
|
||||
@@ -34,7 +34,6 @@
|
||||
|
||||
#include <QFile>
|
||||
#include <QFileInfo>
|
||||
#include <QMessageBox>
|
||||
|
||||
CAF_PDM_SOURCE_INIT( RimFormationNames, "FormationNames" );
|
||||
|
||||
@@ -73,7 +72,7 @@ void RimFormationNames::fieldChangedByUi( const caf::PdmFieldHandle* changedFiel
|
||||
readFormationNamesFile( &errorMessage );
|
||||
if ( !errorMessage.isEmpty() )
|
||||
{
|
||||
QMessageBox::warning( nullptr, "Formation Names", errorMessage );
|
||||
RiaLogging::errorInMessageBox( nullptr, "Formation Names", errorMessage );
|
||||
}
|
||||
updateConnectedViews();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user