aboutsummaryrefslogtreecommitdiff
path: root/libs/game_bethesda/src/games/fallout76/fallout76savegame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/game_bethesda/src/games/fallout76/fallout76savegame.cpp')
-rw-r--r--libs/game_bethesda/src/games/fallout76/fallout76savegame.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/game_bethesda/src/games/fallout76/fallout76savegame.cpp b/libs/game_bethesda/src/games/fallout76/fallout76savegame.cpp
index 66e8a00..c070429 100644
--- a/libs/game_bethesda/src/games/fallout76/fallout76savegame.cpp
+++ b/libs/game_bethesda/src/games/fallout76/fallout76savegame.cpp
@@ -4,6 +4,7 @@
#include <Windows.h>
#else
#include <QDateTime>
+#include <QTimeZone>
using SYSTEMTIME = _SYSTEMTIME;
@@ -14,7 +15,7 @@ static void FileTimeToSystemTime(const FILETIME* ft, SYSTEMTIME* st)
const int64_t unixSecs = static_cast<int64_t>(ticks / 10000000ULL) - 11644473600LL;
const uint64_t remainderHns = ticks % 10000000ULL;
- const QDateTime dt = QDateTime::fromSecsSinceEpoch(unixSecs, Qt::UTC);
+ const QDateTime dt = QDateTime::fromSecsSinceEpoch(unixSecs, QTimeZone::UTC);
const QDate d = dt.date();
const QTime t = dt.time();