[Bug 162514] New: [regression] KConfigGroup requires sync() to write to config file
Marc Mutz
mutz at kde.org
Fri May 23 11:33:32 CEST 2008
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=162514
Summary: [regression] KConfigGroup requires sync() to write to
config file
Product: kdelibs
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: kdecore
AssignedTo: kdelibs-bugs kde org
ReportedBy: mutz kde org
Version: (using Devel)
Installed from: Compiled sources
This code (from kdepim/kleopatra/commands/selftestcommand.cpp) worked in 4.0-branch (I'm pretty sure of it, the bug it causes is pretty obvious)
{
KConfigGroup config( KGlobal::config(), "Self-Test" );
config.writeEntry( "run-at-startup", on );
}
but requires a
config.sync();
in trunk.
More information about the Kdelibs-bugs
mailing list