projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9905ef8
)
Fixing backlog timestamps when merging from sqlite.
author
Marcus Eggenberger
<egs@quassel-irc.org>
Fri, 3 Apr 2009 10:36:50 +0000
(12:36 +0200)
committer
Marcus Eggenberger
<egs@quassel-irc.org>
Fri, 3 Apr 2009 10:36:50 +0000
(12:36 +0200)
This will not fix already merged data and only affects future merges.
src/core/sqlitestorage.cpp
patch
|
blob
|
history
diff --git
a/src/core/sqlitestorage.cpp
b/src/core/sqlitestorage.cpp
index
5fd191b
..
2f4fa09
100644
(file)
--- 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();