Saving avatars in kopete does not work if your root is d:\
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Sat Sep 5 10:37:27 CEST 2009
Jens Peters schrieb:
>> This may be a KUrl/QUrl path() versus toLocalFile() problem. On many
>> places in the KDE code there is path() used to return the local file
>> path from a file or local url.where toLocalFile() should be used
>> instead. path() and toLocalFile() return on unix the same path on
>> windows not
>>
>> path() \c:\xxxx
>>
>> toLocalFile() c:\xxxx
>
> Hi Ralf,
>
> thank you for your suggestion. I did a quick and dirty find and replace
> in kopeteavatarmanager.cpp and now the images do appear, very cool,
> though I'm not sure if I broke anything else with this action..
>
> Where should I send my observations/this patch to?
>
kopete bugs I guess.
But it looks ok - avatar is saved locally. i will not work on non-local
filesystems because they're using QFile::exists(). So it's fine.
Christian
More information about the Kde-windows
mailing list