KStandardDirs::resourceDir

Stephan Kulow coolo at kde.org
Wed Nov 23 10:22:18 GMT 2005


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.

Greetings, Stephan




More information about the kde-core-devel mailing list