From 45611484324c284701d1fb6b5873ed4a05f0535b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 5 Feb 2013 17:13:51 +0200 Subject: Don't use deprecated Qt API (removed in Qt5) --- odb/qt/date-time/sqlite/qtime-traits.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odb/qt/date-time/sqlite/qtime-traits.hxx') diff --git a/odb/qt/date-time/sqlite/qtime-traits.hxx b/odb/qt/date-time/sqlite/qtime-traits.hxx index 141090b..897fe22 100644 --- a/odb/qt/date-time/sqlite/qtime-traits.hxx +++ b/odb/qt/date-time/sqlite/qtime-traits.hxx @@ -41,7 +41,7 @@ namespace odb v.setHMS (24, 0, 0); else v = QTime::fromString ( - QString::fromAscii (i.data (), static_cast (n)), + QString::fromLatin1 (i.data (), static_cast (n)), "HH:mm:ss.zzz"); } -- cgit v1.1