KGlobalSettings::documentPath returns empty string?

Thiago Macieira thiago at kde.org
Thu Aug 7 15:31:33 BST 2008


On Thursday 07 August 2008 16:05:03 Andreas Pakulat wrote:
> Hi,
>
> I have no idea what the xdg spec says, but documentPath returns an empty
> string now when $HOME/Documents doesn't exist and one doesn't use the
> user-dirs.dir file. (KGS now uses QDesktopServices::storageLocation
> which does an existence check before returning the default of
> $HOME/Documents)
>
> I'm wondering wether that is intentional, as this just triggered a bug
> in kdelibs (see my recent commit to kfile/) or something I should file
> to TT and put a workaround into KGS

We'll add support for Documents into Qt 4.5. In the mean time, KDE code should 
handle the empty string and apply its own default value.

-- 
  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/20080807/406dc52a/attachment.sig>


More information about the kde-core-devel mailing list