diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-11 06:27:20 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-11 06:27:20 +0000 |
commit | 31c447f30b1c4804e25f2579d65c5678ee5b3b79 (patch) | |
tree | a126c703751900c57cc7b846b74992cfe97dbb54 /kviewshell | |
parent | 98909bff33122d6b2c43c219450f93f8a3daa39e (diff) | |
download | tdegraphics-31c447f30b1c4804e25f2579d65c5678ee5b3b79.tar.gz tdegraphics-31c447f30b1c4804e25f2579d65c5678ee5b3b79.zip |
Fix reference to temporary in kdegraphicsv3.5.13
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1258283 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell')
-rw-r--r-- | kviewshell/documentWidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kviewshell/documentWidget.cpp b/kviewshell/documentWidget.cpp index f92da793..f370daba 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); + TQPixmap pdap = pageData->accessiblePixmap(); + bitBlt ( this, destRect.topLeft(), &pdap, pixmapRect, CopyROP); } else { |