summaryrefslogtreecommitdiffstats
path: root/kworldwatch/zoneclock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kworldwatch/zoneclock.cpp')
-rw-r--r--kworldwatch/zoneclock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kworldwatch/zoneclock.cpp b/kworldwatch/zoneclock.cpp
index 1c81814..bc61c9b 100644
--- a/kworldwatch/zoneclock.cpp
+++ b/kworldwatch/zoneclock.cpp
@@ -218,8 +218,8 @@ void ZoneClockPanel::realign()
int w = 0;
TQPtrListIterator<ZoneClock> it(_clocks);
for ( ; it.current(); ++it)
- if (it.current()->tqsizeHint().width() > w)
- w = it.current()->tqsizeHint().width();
+ if (it.current()->sizeHint().width() > w)
+ w = it.current()->sizeHint().width();
it.toFirst();
for ( ; it.current(); ++it)
it.current()->setFixedWidth(w);