summaryrefslogtreecommitdiff
path: root/core/settings/citytime/citytime.cpp
Unidiff
Diffstat (limited to 'core/settings/citytime/citytime.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/citytime/citytime.cpp18
1 files changed, 14 insertions, 4 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;
@@ -109,4 +114,4 @@ CityTime::CityTime( QWidget *parent, const char* name,
109 changed = FALSE; 114 changed = FALSE;
110 QObject::connect( qApp, SIGNAL( clockChanged(bool) ), 115 QObject::connect( qApp, SIGNAL( clockChanged( bool ) ),
111 this, SLOT( changeClock(bool) ) ); 116 this, SLOT( changeClock( bool ) ) );
112 // now start the timer so we can update the time quickly every second 117 // now start the timer so we can update the time quickly every second
@@ -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}