summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui.pro
diff options
context:
space:
mode:
authorCharles Yin <charles.yin@nokia.com>2011-11-08 14:42:08 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-08 07:43:00 +0100
commit78542c62757566c75908ae112312d677f032af6a (patch)
treeb47b2a03a58b9445acf2709391680f7357038466 /tests/auto/gui.pro
parent63eae1bd15ea8aa1e4fc460194e34ecb5fc55b3a (diff)
QPainterPath: Fix copy constructor again.
The previous fix a05270f435483937e76d18fa6e512dc0394507d1 is not correct, QPainterPathPrivate(other) should be QPainterPathPrivate(), as there is only a default ctor for QPainterPathPrivate and ref is initialized there, use copy ctor just copies the ref value which makes all detach() calls broken. Add an unit test for this as well. Change-Id: I658f0a977664d5ec523af3f8a48c1a866eda6ab0 Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/gui.pro')
0 files changed, 0 insertions, 0 deletions