diff options
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 { |