[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: [PATCH]kcontrol/dateandtime failed to save ntp config
From: sycao <sycao () redflag-linux ! com>
Date: 2009-08-07 3:50:46
Message-ID: 4A7BA496.1080608 () redflag-linux ! com
[Download RAW message or body]
Hi, all
I think this is a problem since kde 4.1.x, and it still remainds in trunk.
kcmclockrc is wrote to wrong place, so no config about ntp saved.
Sian Cao
["dateandtime.patch" (text/plain)]
Index: helper.cpp
===================================================================
--- helper.cpp (版本 1007043)
+++ helper.cpp (工作副本)
@@ -52,7 +52,7 @@
{
int ret = 0;
// write to the system config file
- KConfig _config( KDE_CONFDIR "kcmclockrc", KConfig::SimpleConfig);
+ KConfig _config( KDE_CONFDIR "/kcmclockrc", KConfig::SimpleConfig);
KConfigGroup config(&_config, "NTP");
config.writeEntry("servers", ntpServers );
config.writeEntry("enabled", ntpEnabled );
>> Visit http://mail.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