summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/image/qpixmap.cpp8
-rw-r--r--src/gui/image/qpixmap.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/src/gui/image/qpixmap.cpp b/src/gui/image/qpixmap.cpp
index 16945edc90..e8c1304b74 100644
--- a/src/gui/image/qpixmap.cpp
+++ b/src/gui/image/qpixmap.cpp
@@ -1003,14 +1003,6 @@ bool QPixmap::isDetached() const
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
specified \a flags to control the conversion. The \a flags
diff --git a/src/gui/image/qpixmap.h b/src/gui/image/qpixmap.h
index de76321f0a..27bfe15688 100644
--- a/src/gui/image/qpixmap.h
+++ b/src/gui/image/qpixmap.h
@@ -174,7 +174,6 @@ private:
QPixmap(const QSize &s, int type);
void doInit(int, int, int);
- void deref();
Q_DUMMY_COMPARISON_OPERATOR(QPixmap)
friend class QPlatformPixmap;
friend class QBitmap;