Remove unused QPicture::detach_helper() private method.
QPicture doesn't need this for quite a long time now, so get rid of it. Change-Id: Ie575f32555deb130f7b27e11a7617fb2b3dc4e43 Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
This commit is contained in:
parent
43aef6f8d2
commit
189f944a0d
@ -1008,17 +1008,6 @@ int QPicture::metric(PaintDeviceMetric m) const
|
|||||||
\internal
|
\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
|
Assigns picture \a p to this picture and returns a reference to
|
||||||
this picture.
|
this picture.
|
||||||
|
@ -107,7 +107,6 @@ protected:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
bool exec(QPainter *p, QDataStream &ds, int i);
|
bool exec(QPainter *p, QDataStream &ds, int i);
|
||||||
void detach_helper();
|
|
||||||
|
|
||||||
QExplicitlySharedDataPointer<QPicturePrivate> d_ptr;
|
QExplicitlySharedDataPointer<QPicturePrivate> d_ptr;
|
||||||
friend class QPicturePaintEngine;
|
friend class QPicturePaintEngine;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user