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

List:       kde-devel
Subject:    Re: KConfig
From:       Albert Chin-A-Young <china () thewrittenword ! com>
Date:       2000-10-21 17:28:47
[Download RAW message or body]

On Sat, Oct 21, 2000 at 05:48:47PM +0000, David Faure wrote:
> On Saturday 21 October 2000 16:42, Albert Chin-A-Young wrote :
> >On Sat, Oct 21, 2000 at 10:26:34AM +0200, Stephan Kulow wrote:
> >> Albert Chin-A-Young wrote:
> >> > 
> >> > I'm trying to set up the rPaths entry for the kview config file. kview
> >> > uses kimageio to load the image files depending on the type of graphic
> >> > being loaded. kimageio.cpp has the following function:
> >> > 
> >> > KImageIOFormat::KImageIOFormat( const QString &path)
> >> >   : KSycocaEntry(path)
> >> > {
> >> >    bLibLoaded = false;
> >> >    mReadFunc = 0;
> >> >    mWriteFunc = 0;
> >> >    KConfig config(path, true, false);
> 
> Because of the "false" as third argument here, the merging with
> kdeglobals is disabled - mainly for performance reasons.

So ~/.kde/share/config/kdeglobals isn't really global. Does that
really make sense?

BTW, I modified the third parameter to true and things worked as
expected. Most excellent! Thank you!

-- 
albert chin (china@thewrittenword.com)
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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