emerge krusader from kde svn

Ralf Habacker ralf.habacker at freenet.de
Fri Oct 2 16:53:32 CEST 2009


Patrick Spendrin schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> <snip>
>   
>> Beside the compile problems, krusader crashes  in krvfsmodel.cpp:285
>> because t is 0 in line 283
>>
>> 283:            struct tm* t = localtime((time_t *) & time);
>> .
>> 285:            QDateTime tmp(QDate(t->tm_year + 1900, t->tm_mon + 1,
>> t->tm_mday), QTime(t->tm_hour, t->tm_min));
>>
>> This happens on several places in the sources, a possible solution may
>> be to use the time_t conversation method of QDateTime
>>     
> I can't really see anything speaking against that.
>   
I digged a little more into this problem. The real source of problems is 
the usage of KURL/QURL:: path() for local files :-(
Ralf





More information about the Kde-windows mailing list