Construct a valid QTime when creating timestamps for iBase SQL driver.

0e62fc73c9 requires this.

Task-number: QTBUG-29261

Change-Id: Idd8b630c72d0fd1c255695a8c2c22f9fe32767ee
Reviewed-by: John Layt <jlayt@kde.org>
bb10
Mitch Curtis 2013-08-21 14:25:55 +02:00 committed by The Qt Project
parent 35fd077c80
commit 9d0b190f4b
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ static ISC_TIMESTAMP toTimeStamp(const QDateTime &dt)
static QDateTime fromTimeStamp(char *buffer)
{
static const QDate bd(1858, 11, 17);
QTime t;
QTime t(0, 0);
QDate d;
// have to demangle the structure ourselves because isc_decode_time