From acd0015c6eddde2e0586b9f0c2f830b6c2d85289 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 7 Oct 2013 10:43:09 +0200 Subject: [PATCH] [paintredirector] Remove dead code --- paintredirector.cpp | 5 ----- paintredirector.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/paintredirector.cpp b/paintredirector.cpp index 2a8ff29b59..e888f8f52d 100644 --- a/paintredirector.cpp +++ b/paintredirector.cpp @@ -354,11 +354,6 @@ void OpenGLPaintRedirector::resizePixmaps(const QRect *rects) } } -void OpenGLPaintRedirector::preparePaint(const QPixmap &pending) -{ - m_tempImage = pending.toImage(); -} - void OpenGLPaintRedirector::updatePixmaps(const QRect *rects, const QRegion ®ion) { const QImage &image = scratchImage(); diff --git a/paintredirector.h b/paintredirector.h index 9e494e6df4..a917856f26 100644 --- a/paintredirector.h +++ b/paintredirector.h @@ -152,10 +152,8 @@ public: protected: virtual void resizePixmaps(const QRect *rects); virtual void updatePixmaps(const QRect *rects, const QRegion ®ion); - virtual void preparePaint(const QPixmap &pending); private: - QImage m_tempImage; GLTexture *m_textures[2]; };