summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/image/qpicture.cpp11
-rw-r--r--src/gui/image/qpicture.h1
2 files changed, 0 insertions, 12 deletions
diff --git a/src/gui/image/qpicture.cpp b/src/gui/image/qpicture.cpp
index dfc84c56d8..2cddb9af5f 100644
--- a/src/gui/image/qpicture.cpp
+++ b/src/gui/image/qpicture.cpp
@@ -1008,17 +1008,6 @@ int QPicture::metric(PaintDeviceMetric m) const
\internal
*/
-/*! \internal
-### Qt 5 - remove me
- */
-void QPicture::detach_helper()
-{
- // QExplicitelySharedDataPointer takes care of cloning using
- // QPicturePrivate's copy constructor. Do not call detach_helper() anymore
- // and remove in Qt 5, please.
- Q_ASSERT_X(false, "QPicture::detach_helper()", "Do not call this function");
-}
-
/*!
Assigns picture \a p to this picture and returns a reference to
this picture.
diff --git a/src/gui/image/qpicture.h b/src/gui/image/qpicture.h
index 1c5d3a9c8f..ab25723fba 100644
--- a/src/gui/image/qpicture.h
+++ b/src/gui/image/qpicture.h
@@ -107,7 +107,6 @@ protected:
private:
bool exec(QPainter *p, QDataStream &ds, int i);
- void detach_helper();
QExplicitlySharedDataPointer<QPicturePrivate> d_ptr;
friend class QPicturePaintEngine;