KDateTime::currentUtcDateTime()
Peter Kümmel
syntheticpp at gmx.net
Mon Jul 31 10:03:44 BST 2006
David Jarvie wrote:
>
> It calls KDateTime::setTime_t(), not QDateTime::setTime_t(). There is no reason to duplicate the code in KDateTime::setTime_t() here.
>
As I can see it the unix code doesn't set the date in currentUtcDateTime,
also not when calling KDateTime::setTime_t(), so why should the windows
code set the date?
Maybe I was not very clear, so I try again:
When the unix code in KDateTime KDateTime::currentUtcDateTime()
does NOT set the date of the returned KDateTime, then we could
remove the windows code.
Peter
More information about the kde-core-devel
mailing list