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:
@@ -1276,7 +1276,7 @@ void RiaGuiApplication::onProjectBeingOpened()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiaGuiApplication::onProjectOpeningError( const QString& errMsg )
|
||||
{
|
||||
QMessageBox::warning( nullptr, "Error when opening project file", errMsg );
|
||||
RiaLogging::errorInMessageBox( nullptr, "Error when opening project file", errMsg );
|
||||
m_mainWindow->setPdmRoot( nullptr );
|
||||
}
|
||||
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaGuiApplication.h"
|
||||
#include "RiaRegressionTestRunner.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
@@ -35,8 +37,6 @@
|
||||
#include <cstring>
|
||||
#endif
|
||||
|
||||
#include "RiaGuiApplication.h"
|
||||
#include "RiaRegressionTestRunner.h"
|
||||
#include <QMessageBox>
|
||||
#include <QString>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user