From 2573e9c81dbde707eae8311ae157052bb64e3d02 Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Wed, 11 Apr 2012 10:21:05 +0200 Subject: [PATCH] Remove unused QIntRect. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I can't find any uses of this anywhere, in either Qt 4 or Qt 5. Change-Id: Ibf747b57b4afdd81e11631e87a80dcab5ac12f69 Reviewed-by: Samuel Rødal --- src/gui/painting/qpaintengineex_p.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/gui/painting/qpaintengineex_p.h b/src/gui/painting/qpaintengineex_p.h index 71a2ec344f..31c6b30ec4 100644 --- a/src/gui/painting/qpaintengineex_p.h +++ b/src/gui/painting/qpaintengineex_p.h @@ -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