mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05: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:
1 parent
72fc47e003
commit
806a149809
75 files changed
+472
-206
No files matched your search
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "RiaColorTables.h"
|
||||
#include "RiaEclipseUnitTools.h"
|
||||
#include "RiaQDateTimeTools.h"
|
||||
|
||||
#include "RigCaseCellResultsData.h"
|
||||
#include "RigWellPath.h"
|
||||
@@ -99,7 +100,7 @@ void RimPerforationInterval::setCustomStartDate( const QDate& date )
|
||||
{
|
||||
if ( date.isValid() )
|
||||
{
|
||||
m_startDate = QDateTime( date );
|
||||
m_startDate = RiaQDateTimeTools::createDateTime( date );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -110,7 +111,7 @@ void RimPerforationInterval::setCustomEndDate( const QDate& date )
|
||||
{
|
||||
if ( date.isValid() )
|
||||
{
|
||||
m_endDate = QDateTime( date );
|
||||
m_endDate = RiaQDateTimeTools::createDateTime( date );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user