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:
@@ -48,6 +48,7 @@
|
||||
#include <QFileInfo>
|
||||
#include <QTextStream>
|
||||
|
||||
#include "RiaTextStringTools.h"
|
||||
#include "ert/ecl/ecl_box.hpp"
|
||||
#include "ert/ecl/ecl_grid.hpp"
|
||||
#include "ert/ecl/ecl_kw.h"
|
||||
@@ -813,7 +814,7 @@ void RifEclipseInputFileTools::parseAndReadPathAliasKeyword( const QString&
|
||||
// definition; 'I+'
|
||||
line.remove( "'" );
|
||||
|
||||
QStringList entries = line.split( " ", QString::SkipEmptyParts );
|
||||
QStringList entries = RiaTextStringTools::splitSkipEmptyParts( line );
|
||||
if ( entries.size() < 2 )
|
||||
{
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user