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:
@@ -23,6 +23,7 @@
|
||||
|
||||
#include "RiaDateStringParser.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaTextStringTools.h"
|
||||
|
||||
#include "cvfAssert.h"
|
||||
|
||||
@@ -116,7 +117,7 @@ void RifColumnBasedUserDataParser::parseTableData( const QString& data )
|
||||
do
|
||||
{
|
||||
QString qLine = QString::fromStdString( line );
|
||||
QStringList entries = qLine.split( " ", QString::SkipEmptyParts );
|
||||
QStringList entries = RiaTextStringTools::splitSkipEmptyParts( qLine );
|
||||
|
||||
if ( stepTypeIndex > -1 && (unsigned int)entries.size() < columnInfos.size() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user