summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintdevice.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-05-04 14:54:22 +0200
committerLars Knoll <lars.knoll@nokia.com>2011-05-04 14:55:11 +0200
commitfd84bc720aa8101a12b185e3bb291ff0f5732281 (patch)
treee34b48958559d8bc5a9986a4ffdd8fefe38fabb8 /src/gui/painting/qpaintdevice.cpp
parent100e074126753e43084d69e139d425d373b696b3 (diff)
remove some unused code
QPaintDeviceRedirection is not being used any more. Remove all code related to it.
Diffstat (limited to 'src/gui/painting/qpaintdevice.cpp')
-rw-r--r--src/gui/painting/qpaintdevice.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/painting/qpaintdevice.cpp b/src/gui/painting/qpaintdevice.cpp
index 8a0ccfb5f2..c0fd0e644a 100644
--- a/src/gui/painting/qpaintdevice.cpp
+++ b/src/gui/painting/qpaintdevice.cpp
@@ -43,8 +43,6 @@
QT_BEGIN_NAMESPACE
-extern void qt_painter_removePaintDevice(QPaintDevice *); //qpainter.cpp
-
QPaintDevice::QPaintDevice()
{
painters = 0;
@@ -55,7 +53,6 @@ QPaintDevice::~QPaintDevice()
if (paintingActive())
qWarning("QPaintDevice: Cannot destroy paint device that is being "
"painted");
- qt_painter_removePaintDevice(this);
}