author | tille <tille> | 2003-01-29 10:09:50 (UTC) |
---|---|---|
committer | tille <tille> | 2003-01-29 10:09:50 (UTC) |
commit | 59a67d792570e231d2de14cee78ff75fa79453ec (patch) (side-by-side diff) | |
tree | 5155aa2a954b6c68d07c69da8dcf495c4bcd45cc | |
parent | ed9991ab41fcf7c8d592796d083d932c44c4a723 (diff) | |
download | opie-59a67d792570e231d2de14cee78ff75fa79453ec.zip opie-59a67d792570e231d2de14cee78ff75fa79453ec.tar.gz opie-59a67d792570e231d2de14cee78ff75fa79453ec.tar.bz2 |
fix for adv tab
-rw-r--r-- | noncore/settings/netsystemtime/ntp.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/netsystemtime/ntp.cpp b/noncore/settings/netsystemtime/ntp.cpp index 06d944d..aecefc1 100644 --- a/noncore/settings/netsystemtime/ntp.cpp +++ b/noncore/settings/netsystemtime/ntp.cpp @@ -377,34 +377,36 @@ void Ntp::receive(const QCString &msg, const QByteArray &arg) { setPredictTime(); }else{ qDebug("Ntp::receive: Huh what do ya want"); } } void Ntp::setDocument(const QString &fileName) { qDebug("Ntp::setDocument( %s )",fileName.latin1()); } void Ntp::showAdvancedFeatures(bool advMode) { if (advMode) { + if ( tabNtp->isVisible() ) { TabWidgetMain->addTab( tabPredict, tr( "Predict" ) ); TabWidgetMain->addTab( tabNtp, tr( "NTP" ) ); + } TextLabel1_2_2->show(); TextLabel2_3->show(); TextLabel3_3_2->show(); TextLabel1_2->show(); SpinBoxMinLookupDelay->show(); TextLabel2->show(); TextLabel3_3->show(); SpinBoxNtpDelay->show(); Line1->show(); }else{ TabWidgetMain->removePage( tabPredict ); TabWidgetMain->removePage( tabNtp ); TextLabel1_2_2->hide(); TextLabel2_3->hide(); TextLabel3_3_2->hide(); TextLabel1_2->hide(); |