summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2010-03-19 13:41:17 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2010-03-22 13:06:11 (GMT)
commit188b3b9e2f863b9b95e24b08e58ecd1f48f5966a (patch)
tree63a10f8978295222045d3c9ce75720055a8e72a8 /src/gui
parent92806ba63ed159ed082083fbbfb2478428a1b8a2 (diff)
downloadQt-188b3b9e2f863b9b95e24b08e58ecd1f48f5966a.zip
Qt-188b3b9e2f863b9b95e24b08e58ecd1f48f5966a.tar.gz
Qt-188b3b9e2f863b9b95e24b08e58ecd1f48f5966a.tar.bz2
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
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/painting/qpainterpath.h2
1 files changed, 2 insertions, 0 deletions
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<QPainterPathStrokerPrivate> d_ptr;