KStandardDirs::resourceDir

George Staikos staikos at kde.org
Wed Nov 23 15:24:33 GMT 2005


On Wednesday 23 November 2005 05:22, Stephan Kulow wrote:
> Am Mittwoch, 23. November 2005 04:29 schrieb George Staikos:
> > Has resourceDir() changed since KDE 2.x days?  I have a report that KSSL
> > is picking up the global ca-bundle instead of the user's preference. 
> > This seems to indicate that the saveDir for the resource is missing or
> > lower on the priority than the global directories.  For me it works fine
> > though - and it always has.  Is there some sort of system or user
> > configuration that makes this behave differently?  The bug in question is
> > http://bugs.kde.org/show_bug.cgi?id=103062
>
> If the local directory does not exist, it won't be returned. If you ever
> called saveLocation() before (from whatever app) it will exist. So using
> saveLocation() if you _want_ the saveLocation is the right fix. It just
> magically works if you happen to have called an app before that did the
> right thing.

  In theory it should have been called and should exist, unless the user is 
lying to me.  Something else must be wrong then.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/




More information about the kde-core-devel mailing list