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
parent
35fd077c80
commit
9d0b190f4b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue