author | tille <tille> | 2002-11-10 21:56:47 (UTC) |
---|---|---|
committer | tille <tille> | 2002-11-10 21:56:47 (UTC) |
commit | 0e357841ca8ff0f38bdb4ac7c2883ded2c407810 (patch) (unidiff) | |
tree | d2283dcdca4e85a8435689291afec45e5c34a5f4 /noncore/settings/netsystemtime/ntp.cpp | |
parent | 727eb9283d10cf61cc7f7a8506124cab9f37f2ed (diff) | |
download | opie-0e357841ca8ff0f38bdb4ac7c2883ded2c407810.zip opie-0e357841ca8ff0f38bdb4ac7c2883ded2c407810.tar.gz opie-0e357841ca8ff0f38bdb4ac7c2883ded2c407810.tar.bz2 |
only show popup if visible
Diffstat (limited to 'noncore/settings/netsystemtime/ntp.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/ntp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/netsystemtime/ntp.cpp b/noncore/settings/netsystemtime/ntp.cpp index 111f7d4..6e74e32 100644 --- a/noncore/settings/netsystemtime/ntp.cpp +++ b/noncore/settings/netsystemtime/ntp.cpp | |||
@@ -178,2 +178,3 @@ void Ntp::ntpFinished(OProcess *p) | |||
178 | { | 178 | { |
179 | if ( isVisible() ) { | ||
179 | QMessageBox::critical(this, tr("ntp error"), | 180 | QMessageBox::critical(this, tr("ntp error"), |
@@ -182,4 +183,4 @@ void Ntp::ntpFinished(OProcess *p) | |||
182 | _ntpOutput ); | 183 | _ntpOutput ); |
183 | // TabWidgetMain->setCurrentPage( 1 ); | ||
184 | TabWidgetMain->showPage( tabManualSetTime ); | 184 | TabWidgetMain->showPage( tabManualSetTime ); |
185 | } | ||
185 | 186 | ||