File kdegraphics-trinity-temporary.patch of Package kdegraphics3

From 31c447f30b1c4804e25f2579d65c5678ee5b3b79 Mon Sep 17 00:00:00 2001
From: tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Date: Tue, 11 Oct 2011 06:27:20 +0000
Subject: Fix reference to temporary in kdegraphics

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1258283 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
---
(limited to 'kviewshell/documentWidget.cpp')

diff --git a/kviewshell/documentWidget.cpp b/kviewshell/documentWidget.cpp
index f92da79..f370dab 100644
--- a/kviewshell/documentWidget.cpp
+++ b/kviewshell/documentWidget.cpp
@@ -287,7 +287,8 @@ void DocumentWidget::paintEvent(TQPaintEvent *e)
     if (KVSPrefs::changeColors() && KVSPrefs::renderMode() != KVSPrefs::EnumRenderMode::Paper)
     {
       // Paint widget contents with accessibility changes.
-      bitBlt ( this, destRect.topLeft(), &pageData->accessiblePixmap(), pixmapRect, CopyROP);
+      QPixmap pdap = pageData->accessiblePixmap();
+      bitBlt ( this, destRect.topLeft(), &pdap, pixmapRect, CopyROP);
     }
     else
     {
--
cgit v0.9.0.2-39-g756e