#7403 Replace fromTime_t with fromSecsSinceEpoch

This commit is contained in:
Magne Sjaastad
2021-02-22 07:37:45 +01:00
parent b29952e8a9
commit f12a3ed1ba
6 changed files with 11 additions and 11 deletions

View File

@@ -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();