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:
@@ -19,6 +19,7 @@
|
||||
#include "RimAnnotationCollection.h"
|
||||
|
||||
#include "RiaColorTables.h"
|
||||
#include "RiaLogging.h"
|
||||
|
||||
#include "RimAnnotationGroupCollection.h"
|
||||
#include "RimAnnotationLineAppearance.h"
|
||||
@@ -31,7 +32,6 @@
|
||||
#include "RimGridView.h"
|
||||
#include "RimProject.h"
|
||||
|
||||
#include <QMessageBox>
|
||||
#include <QString>
|
||||
|
||||
CAF_PDM_SOURCE_INIT( RimAnnotationCollection, "RimAnnotationCollection" );
|
||||
@@ -273,7 +273,7 @@ void RimAnnotationCollection::reloadPolylinesFromFile( const std::vector<RimPoly
|
||||
|
||||
if ( !totalErrorMessage.isEmpty() )
|
||||
{
|
||||
QMessageBox::warning( nullptr, "Import Polylines", totalErrorMessage );
|
||||
RiaLogging::errorInMessageBox( nullptr, "Import Polylines", totalErrorMessage );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user