diff options
Diffstat (limited to 'src/corelib/tools/qrect.cpp')
-rw-r--r-- | src/corelib/tools/qrect.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/corelib/tools/qrect.cpp b/src/corelib/tools/qrect.cpp index 22bf39bc77..8c1eea8df7 100644 --- a/src/corelib/tools/qrect.cpp +++ b/src/corelib/tools/qrect.cpp @@ -640,16 +640,6 @@ QRect QRect::normalized() const \sa center() */ -void QRect::moveCenter(const QPoint &p) -{ - int w = x2 - x1; - int h = y2 - y1; - x1 = p.x() - w/2; - y1 = p.y() - h/2; - x2 = x1 + w; - y2 = y1 + h; -} - /*! \fn void QRect::moveTo(int x, int y) |