summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qrect.cpp
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2012-04-19 12:56:50 +0300
committerQt by Nokia <qt-info@nokia.com>2012-04-20 10:29:14 +0200
commit65ae2151c34877d7a5a046a39e34a8513c849f8f (patch)
tree2d29550575ff9f446a1adc2e0d61f18cdd91db7a /src/corelib/tools/qrect.cpp
parent128b7c56b732cabdbd600445aac5162c775e58d4 (diff)
mingw: fix a lot of annoying warnings
like "QRect::intersected() redeclared without dllimport attribute after being referenced with dll linkage" (-fno-keep-inline-dllexport) Change-Id: Id24e5ee857579ee9f97a60de0ab88ce3db8385cf Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/corelib/tools/qrect.cpp')
-rw-r--r--src/corelib/tools/qrect.cpp10
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)