From: Marcus Eggenberger Date: Fri, 3 Apr 2009 10:36:50 +0000 (+0200) Subject: Fixing backlog timestamps when merging from sqlite. X-Git-Tag: 0.5-rc1~234 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=16c9fb5606113ddbcbe4be61f8ed2b775f31055e Fixing backlog timestamps when merging from sqlite. This will not fix already merged data and only affects future merges. --- diff --git a/src/core/sqlitestorage.cpp b/src/core/sqlitestorage.cpp index 5fd191bf..2f4fa091 100644 --- a/src/core/sqlitestorage.cpp +++ b/src/core/sqlitestorage.cpp @@ -1632,7 +1632,7 @@ bool SqliteMigrationReader::readMo(BacklogMO &backlog) { } backlog.messageid = value(0).toInt(); - backlog.time = QDateTime::fromTime_t(value(1).toInt()); + backlog.time = QDateTime::fromTime_t(value(1).toInt()).toUTC(); backlog.bufferid = value(2).toInt(); backlog.type = value(3).toInt(); backlog.flags = value(4).toInt();