KGlobalSettings::documentPath returns empty string?

Thiago Macieira thiago at kde.org
Sun Aug 10 13:49:14 BST 2008


Andreas Pakulat wrote:
>On 10.08.08 09:36:07, David Faure wrote:
>> On Thursday 07 August 2008, Andreas Pakulat wrote:
>> > So the question really is: Is that the correct behaviour for KDE?
>>
>> Definitely not. KGlobalSettings always returned the path of a
>> directory that exists (homeDir by default, indeed).
>
>Ok, should I put this into KGS until Qt is fixed or should I fix Qt and
>put a patch into qt-copy/patches?

Qt's not wrong. It returns the path that the system says it is, if it 
exists. If it doesn't exist, it's not Qt's mandate to create it.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080810/172a3119/attachment.sig>


More information about the kde-core-devel mailing list