KConfig::addConfigSources is broken

Andreas Pakulat apaku at gmx.de
Sun Nov 18 16:51:13 GMT 2007


seems like KConfig::addConfigSources is broken, wrt. writing to the

When creating a KSharedConfig instance with:

d->m_cfg = KSharedConfig::openConfig( d->projectTempFile );
d->m_cfg->addConfigSources( QStringList() << d->developerTempFile );

and then storing anything using d->m_cfg->writeEntry() the settings get
saved to d->projectTempFile, not d->developerTempFile.

This regression was introduced in one of recent the KConfig reworks,
i.e. it worked properly in august (haven't tested this since then)


Lady Luck brings added income today.  Lady friend takes it away tonight.

More information about the kde-core-devel mailing list