summaryrefslogtreecommitdiff
authortille <tille>2002-10-21 21:52:48 (UTC)
committer tille <tille>2002-10-21 21:52:48 (UTC)
commit5bcd4ccebd86f912c693de16675da44d21e11d94 (patch) (unidiff)
tree069d23db3e886319f0a76071609d11b814bd4bfb
parent21d29dbf8a9c1a12c7c23f96b80307e87ffaa50a (diff)
downloadopie-5bcd4ccebd86f912c693de16675da44d21e11d94.zip
opie-5bcd4ccebd86f912c693de16675da44d21e11d94.tar.gz
opie-5bcd4ccebd86f912c693de16675da44d21e11d94.tar.bz2
saves feature settings now
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/ntp.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/noncore/settings/netsystemtime/ntp.cpp b/noncore/settings/netsystemtime/ntp.cpp
index 6f6316c..f60e38d 100644
--- a/noncore/settings/netsystemtime/ntp.cpp
+++ b/noncore/settings/netsystemtime/ntp.cpp
@@ -84,6 +84,5 @@ Ntp::~Ntp()
84 int srvCount = ComboNtpSrv->count(); 84 int srvCount = ComboNtpSrv->count();
85 ntpSrvs.writeEntry("count", srvCount); 85 ntpSrvs.writeEntry("count", srvCount);
86 for (int i = 0; i < srvCount; i++) 86 for (int i = 0; i < srvCount; i++){
87 {
88 ntpSrvs.setGroup(QString::number(i)); 87 ntpSrvs.setGroup(QString::number(i));
89 ntpSrvs.writeEntry( "name", ComboNtpSrv->text(i) ); 88 ntpSrvs.writeEntry( "name", ComboNtpSrv->text(i) );
@@ -94,4 +93,5 @@ Ntp::~Ntp()
94 cfg.writeEntry( "minLookupDiff", SpinBoxMinLookupDelay->value() ); 93 cfg.writeEntry( "minLookupDiff", SpinBoxMinLookupDelay->value() );
95 cfg.writeEntry( "ntpRefreshFreq", SpinBoxNtpDelay->value() ); 94 cfg.writeEntry( "ntpRefreshFreq", SpinBoxNtpDelay->value() );
95 cfg.writeEntry( "advancedFeatures", CheckBoxAdvSettings->isChecked() );
96} 96}
97 97
@@ -353,4 +353,5 @@ void Ntp::showAdvancedFeatures(bool advMode)
353 TextLabel3_3->show(); 353 TextLabel3_3->show();
354 SpinBoxNtpDelay->show(); 354 SpinBoxNtpDelay->show();
355 Line1->show();
355 }else{ 356 }else{
356 TabWidgetMain->removePage( tabPredict ); 357 TabWidgetMain->removePage( tabPredict );
@@ -364,4 +365,6 @@ void Ntp::showAdvancedFeatures(bool advMode)
364 TextLabel3_3->hide(); 365 TextLabel3_3->hide();
365 SpinBoxNtpDelay->hide(); 366 SpinBoxNtpDelay->hide();
367 Line1->hide();
366 }; 368 };
369 TabWidgetMain->show();
367} 370}