mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Qt 5.6 is our minspec, don't use functions added since then
This commit is contained in:
@@ -327,7 +327,7 @@ public:
|
||||
{
|
||||
if(node->file.lastmod == 0)
|
||||
return QVariant();
|
||||
return QDateTime::fromSecsSinceEpoch(node->file.lastmod);
|
||||
return QDateTime(QDate(1970, 1, 1), QTime(0, 0, 0), Qt::UTC).addSecs(node->file.lastmod);
|
||||
}
|
||||
default: break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user