-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 @@ -487,3 +487,3 @@ void AnalogClock::drawPointers ( QPainter *p, const QRect &r, const QColor &c, c { - QPoint center( r.x() + r.width() / 2, r.y() + r.height() / 2 ); + QPoint center = r. center ( ); |