author | sandman <sandman> | 2002-12-22 16:39:25 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-12-22 16:39:25 (UTC) |
commit | f86b3c6613548c9f59019892233f5f90a17d472c (patch) (unidiff) | |
tree | 1d5c999b02986b2071cbc70122542dae3cb3037f | |
parent | 5fc02331096bdb38de080cd55b83350a95306cca (diff) | |
download | opie-f86b3c6613548c9f59019892233f5f90a17d472c.zip opie-f86b3c6613548c9f59019892233f5f90a17d472c.tar.gz opie-f86b3c6613548c9f59019892233f5f90a17d472c.tar.bz2 |
small fix
-rw-r--r-- | noncore/tools/clock/clock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/tools/clock/clock.cpp b/noncore/tools/clock/clock.cpp index d69c56f..2f81c3a 100644 --- a/noncore/tools/clock/clock.cpp +++ b/noncore/tools/clock/clock.cpp | |||
@@ -486,5 +486,5 @@ void AnalogClock::drawContents( QPainter *p ) | |||
486 | void AnalogClock::drawPointers ( QPainter *p, const QRect &r, const QColor &c, const QTime &t, const QTime *t2 ) | 486 | void AnalogClock::drawPointers ( QPainter *p, const QRect &r, const QColor &c, const QTime &t, const QTime *t2 ) |
487 | { | 487 | { |
488 | QPoint center( r.x() + r.width() / 2, r.y() + r.height() / 2 ); | 488 | QPoint center = r. center ( ); |
489 | 489 | ||
490 | QPoint h1( center. x ( ), r. y ( ) + r. height ( ) / 4 ); | 490 | QPoint h1( center. x ( ), r. y ( ) + r. height ( ) / 4 ); |