mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 14:03:17 +02:00
doh
This commit is contained in:
parent
1eb503f526
commit
655dc61ff2
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ void Ledger::historySuccess(QNetworkReply& reply) {
|
|||
// be explicit
|
||||
#ifdef Q_OS_MAC
|
||||
QDateTime createdAt = QDateTime::fromTime_t(valueObject["created_at"].toInt(), Qt::UTC);
|
||||
#elif
|
||||
#else
|
||||
QDateTime createdAt = QDateTime::fromSecsSinceEpoch(valueObject["created_at"].toInt(), Qt::UTC);
|
||||
#endif
|
||||
QDateTime localCreatedAt = createdAt.toTimeZone(QTimeZone::systemTimeZone());
|
||||
|
|
Loading…
Reference in a new issue