Remove dead method.
Fix Qt 5 TODO Change-Id: I9a12cc07ebc7c039bbeb53922b0539f177b226f8 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
This commit is contained in:
parent
c66bb51a75
commit
ad1a013878
@ -1003,14 +1003,6 @@ bool QPixmap::isDetached() const
|
|||||||
return data && data->ref.load() == 1;
|
return data && data->ref.load() == 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*! \internal
|
|
||||||
### Qt5 - remove me.
|
|
||||||
*/
|
|
||||||
void QPixmap::deref()
|
|
||||||
{
|
|
||||||
Q_ASSERT_X(false, "QPixmap::deref()", "Do not call this function anymore!");
|
|
||||||
}
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
Replaces this pixmap's data with the given \a image using the
|
Replaces this pixmap's data with the given \a image using the
|
||||||
specified \a flags to control the conversion. The \a flags
|
specified \a flags to control the conversion. The \a flags
|
||||||
|
@ -174,7 +174,6 @@ private:
|
|||||||
|
|
||||||
QPixmap(const QSize &s, int type);
|
QPixmap(const QSize &s, int type);
|
||||||
void doInit(int, int, int);
|
void doInit(int, int, int);
|
||||||
void deref();
|
|
||||||
Q_DUMMY_COMPARISON_OPERATOR(QPixmap)
|
Q_DUMMY_COMPARISON_OPERATOR(QPixmap)
|
||||||
friend class QPlatformPixmap;
|
friend class QPlatformPixmap;
|
||||||
friend class QBitmap;
|
friend class QBitmap;
|
||||||
|
Loading…
Reference in New Issue
Block a user