diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-05 17:13:51 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-05 17:13:51 +0200 |
commit | 45611484324c284701d1fb6b5873ed4a05f0535b (patch) | |
tree | 6801b6831ddc04e8e95aff7687b71f4a22f195fd /odb/qt/date-time/sqlite/qdate-time-traits.hxx | |
parent | 4503191a037be58e769613281f90efa5310e547e (diff) |
Don't use deprecated Qt API (removed in Qt5)
Diffstat (limited to 'odb/qt/date-time/sqlite/qdate-time-traits.hxx')
-rw-r--r-- | odb/qt/date-time/sqlite/qdate-time-traits.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/qt/date-time/sqlite/qdate-time-traits.hxx b/odb/qt/date-time/sqlite/qdate-time-traits.hxx index ef8a714..259d1c8 100644 --- a/odb/qt/date-time/sqlite/qdate-time-traits.hxx +++ b/odb/qt/date-time/sqlite/qdate-time-traits.hxx @@ -40,7 +40,7 @@ namespace odb v = QDateTime (); else v = QDateTime::fromString ( - QString::fromAscii (i.data (), static_cast<int> (n)), + QString::fromLatin1 (i.data (), static_cast<int> (n)), "yyyy-MM-ddTHH:mm:ss.zzz"); } |