mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix several deprecation warnings (#8657)
* Use constructor instead of nullptr for WindowFlags * Use constructor instead of nullptr for Alignment * Disable deprecation warning for QProcess * Add string split method to RaTextStringTools * Add caf.cpp used to manage Qt function deprecations * Use position()
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "RifReaderFmuRft.h"
|
||||
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaQDateTimeTools.h"
|
||||
|
||||
#include "cafAssert.h"
|
||||
|
||||
@@ -438,7 +439,7 @@ RifReaderFmuRft::WellObservationMap RifReaderFmuRft::loadWellDates( QDir& dir, Q
|
||||
return WellObservationMap();
|
||||
}
|
||||
|
||||
QDateTime dateTime( QDate( year, month, day ) );
|
||||
QDateTime dateTime = RiaQDateTimeTools::createDateTime( QDate( year, month, day ) );
|
||||
dateTime.setTimeSpec( Qt::UTC );
|
||||
WellObservationSet observationSet( dateTime, measurementIndex );
|
||||
validObservations.insert( std::make_pair( wellName, observationSet ) );
|
||||
|
||||
Reference in New Issue
Block a user