KDateTime::currentUtcDateTime()

Peter K├╝mmel syntheticpp at gmx.net
Fri Jul 28 13:03:25 BST 2006


David Jarvie wrote:
> 
> I'm not sure what you mean. Are you saying that we should use the UNIX 
> code for Windows, i.e. delete the Windows-specific code and remove the 
> #ifdef?

Yes, when the ctor doesn't set the date and time under linux,
why should it be done under windows?


> If so, why does QDateTime::currentDateTime() use different code 
> for UNIX and Windows?

But I'm not the author of the windows code, so I am maybe wrong.
Because of this I've only renamed the macro.

Peter






More information about the kde-core-devel mailing list