[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KConfig::addConfigSources is broken
From: "Aaron J. Seigo" <aseigo () kde ! org>
Date: 2007-11-19 5:14:07
Message-ID: 200711182214.15214.aseigo () kde ! org
[Download RAW message or body]
On Sunday 18 November 2007, Thomas Braxton wrote:
> I tested this, and the symmetry is still there. Try my previous
> suggestion and if it still doesn't work, then we have a bug, which
> I'll gladly fix. I don't see how opening one file, then expecting
> writes to go to a different file is symmetrical, or sensible. But, if
> that's the way you want it I can easily change it.
so are you saying that with these files:
projectTempFile:
[Project]
Name=Foo
VcsPlugin=Bar
developerTempFile:
[Project]
VcsPlugin=Foobar
this:
d->m_cfg = KSharedConfig::openConfig( d->developerTempFile );
d->m_cfg = addConfigSources( QStringList() << d->projectTempFile );
will get you this on reads:
VcsPlugin => Foobar (NOT Bar)
Name => Foo
and when Name is set to Bar it will write that value out to
d->developerTempFile?
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Trolltech
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic