projects
/
dorian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make date handling Qt 4.6 compatible. Convert dates to local before
[dorian]
/
model
/
book.cpp
diff --git
a/model/book.cpp
b/model/book.cpp
index
e15ac5a
..
94bb9e9
100644
(file)
--- a/
model/book.cpp
+++ b/
model/book.cpp
@@
-53,7
+53,7
@@
bool Book::open()
if (!parse()) {
return false;
}
- dateOpened = QDateTime::currentDateTimeUtc();
+ dateOpened = QDateTime::currentDateTime().toUTC();
save();
emit opened(path());
return true;