From 188b3b9e2f863b9b95e24b08e58ecd1f48f5966a Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Fri, 19 Mar 2010 14:41:17 +0100 Subject: disable copy of QPainterPathStroker as its not copiable. The introduction of QScopedPointer already broke source compat for this one, not compiling is better than crashing at runtime. Reviewed-by: Trond --- src/gui/painting/qpainterpath.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/painting/qpainterpath.h b/src/gui/painting/qpainterpath.h index 296ce33..15d83b8 100644 --- a/src/gui/painting/qpainterpath.h +++ b/src/gui/painting/qpainterpath.h @@ -288,6 +288,8 @@ public: QPainterPath createStroke(const QPainterPath &path) const; private: + Q_DISABLE_COPY(QPainterPathStroker) + friend class QX11PaintEngine; QScopedPointer d_ptr; -- cgit v0.12