Remove unused QIntRect.
authorRobin Burchell <robin+qt@viroteck.net>
Wed, 11 Apr 2012 08:21:05 +0000 (10:21 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 12 Apr 2012 12:33:09 +0000 (14:33 +0200)
I can't find any uses of this anywhere, in either Qt 4 or Qt 5.

Change-Id: Ibf747b57b4afdd81e11631e87a80dcab5ac12f69
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/gui/painting/qpaintengineex_p.h

index 71a2ec3..31c6b30 100644 (file)
@@ -71,19 +71,6 @@ class QPaintEngineExPrivate;
 class QStaticTextItem;
 struct StrokeHandler;
 
-struct QIntRect {
-    int x1, y1, x2, y2;
-    inline void set(const QRect &r) {
-        x1 = r.x();
-        y1 = r.y();
-        x2 = r.right() + 1;
-        y2 = r.bottom() + 1;
-        // We will assume normalized for later...
-        Q_ASSERT(x2 >= x1);
-        Q_ASSERT(y2 >= y1);
-    }
-};
-
 #ifndef QT_NO_DEBUG_STREAM
 QDebug Q_GUI_EXPORT &operator<<(QDebug &, const QVectorPath &path);
 #endif