indiantarget / quimeraengine

0 stars 0 forks source link

Make the parameter of type QTimeZone* mandatory in QDateTime constructors #614

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is a problem with QDateTime's constructors, they are sometimes ambiguous 
since the QTimeZone pointer is treated as an integer when passing null, so the 
wrong overload is called. The static constant UTC_TIMEZONE of tipe QTimeZone* 
will be created in QDateTime, whose value will be null, so it can be easily 
used as parameter.

Original issue reported on code.google.com by Lince3D@gmail.com on 14 Nov 2014 at 7:03

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 2 Feb 2015 at 4:08

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 9 Feb 2015 at 5:02

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 10 Feb 2015 at 2:25