|
|
|
@ -133,10 +133,10 @@ void KNetStats::configCancel() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KNetStats::saveConfig(const OptionsMap& options) {
|
|
|
|
|
KConfig* cfg = kapp->config();
|
|
|
|
|
TDEConfig* cfg = kapp->config();
|
|
|
|
|
|
|
|
|
|
for(OptionsMap::ConstIterator i = options.begin(); i != options.end(); ++i) {
|
|
|
|
|
KConfigGroupSaver groupSaver(cfg, i.key());
|
|
|
|
|
TDEConfigGroupSaver groupSaver(cfg, i.key());
|
|
|
|
|
const KNetStatsView::Options& opt = i.data();
|
|
|
|
|
// general
|
|
|
|
|
cfg->writeEntry("UpdateInterval", opt.mUpdateInterval);
|
|
|
|
|