[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-windows
Subject:    Re: Saving avatars in kopete does not work if your root is d:\
From:       Christian Ehrlicher <Ch.Ehrlicher () gmx ! de>
Date:       2009-09-05 8:37:27
Message-ID: 4AA22347.2010701 () gmx ! de
[Download RAW message or body]

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
_______________________________________________
Kde-windows mailing list
Kde-windows@kde.org
https://mail.kde.org/mailman/listinfo/kde-windows
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic