mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7403 Replace fromTime_t with fromSecsSinceEpoch
This commit is contained in:
@@ -498,9 +498,9 @@ void RicSummaryCaseRestartDialog::appendFileInfoToGridLayout( QGridLayout*
|
||||
{
|
||||
CVF_ASSERT( gridLayout );
|
||||
|
||||
QDateTime startDate = QDateTime::fromTime_t( fileInfo.startDate );
|
||||
QDateTime startDate = QDateTime::fromSecsSinceEpoch( fileInfo.startDate );
|
||||
QString startDateString = startDate.toString( RiaQDateTimeTools::dateFormatString() );
|
||||
QDateTime endDate = QDateTime::fromTime_t( fileInfo.endDate );
|
||||
QDateTime endDate = QDateTime::fromSecsSinceEpoch( fileInfo.endDate );
|
||||
QString endDateString = endDate.toString( RiaQDateTimeTools::dateFormatString() );
|
||||
int rowCount = gridLayout->rowCount();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user