author | harlekin <harlekin> | 2002-10-12 13:43:58 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-12 13:43:58 (UTC) |
commit | 4f1cf7f8c9925f31f2940207b8f7b5771533b734 (patch) (unidiff) | |
tree | 95656286280ec923b6262bcdfb55a986c8fc4ab8 /core/settings/citytime/citytime.cpp | |
parent | d442e7bcc977c46a77749c0d2508a755a8d9db7a (diff) | |
download | opie-4f1cf7f8c9925f31f2940207b8f7b5771533b734.zip opie-4f1cf7f8c9925f31f2940207b8f7b5771533b734.tar.gz opie-4f1cf7f8c9925f31f2940207b8f7b5771533b734.tar.bz2 |
first step to make citytime more usable
Diffstat (limited to 'core/settings/citytime/citytime.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/settings/citytime/citytime.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/core/settings/citytime/citytime.cpp b/core/settings/citytime/citytime.cpp index b2f9f14..f33b19f 100644 --- a/core/settings/citytime/citytime.cpp +++ b/core/settings/citytime/citytime.cpp | |||
@@ -20,2 +20,4 @@ | |||
20 | 20 | ||
21 | // changes by Maximilian Reiss <harlekin@handhelds.org> | ||
22 | |||
21 | #include "zonemap.h" | 23 | #include "zonemap.h" |
@@ -31,3 +33,2 @@ | |||
31 | 33 | ||
32 | |||
33 | #include <qdir.h> | 34 | #include <qdir.h> |
@@ -39,2 +40,3 @@ | |||
39 | #include <qtoolbutton.h> | 40 | #include <qtoolbutton.h> |
41 | #include <qlayout.h> | ||
40 | 42 | ||
@@ -79,3 +81,2 @@ CityTime::CityTime( QWidget *parent, const char* name, | |||
79 | // append for that 4 down look | 81 | // append for that 4 down look |
80 | |||
81 | listCities.append( cmdCity4 ); | 82 | listCities.append( cmdCity4 ); |
@@ -106,2 +107,6 @@ CityTime::CityTime( QWidget *parent, const char* name, | |||
106 | } | 107 | } |
108 | |||
109 | selWidget = frmMap->selectionWidget( this ); | ||
110 | selWidget->hide(); | ||
111 | CityTimeBaseLayout->addWidget( selWidget ); | ||
107 | bAdded = true; | 112 | bAdded = true; |
@@ -201,3 +206,6 @@ void CityTime::beginNewTz() | |||
201 | { | 206 | { |
207 | buttonWidget->hide(); | ||
202 | frmMap->setFocus(); | 208 | frmMap->setFocus(); |
209 | selWidget->show(); | ||
210 | // CityTimeBaseLayout->addWidget( selWidget ); | ||
203 | } | 211 | } |
@@ -225,2 +233,4 @@ void CityTime::slotNewTz( const QString & strNewCountry, | |||
225 | showTime(); | 233 | showTime(); |
234 | buttonWidget->show(); | ||
235 | selWidget->hide(); | ||
226 | } | 236 | } |