https://bugs.kde.org/show_bug.cgi?id=384267

Oliver Sander <oliver.san...@tu-dresden.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliver.san...@tu-dresden.de

--- Comment #4 from Oliver Sander <oliver.san...@tu-dresden.de> ---
True, I was going to send a patch for that.  Adding the border is now simply

diff --git a/ui/pagepainter.cpp b/ui/pagepainter.cpp
index 047220f95..94429af93 100644
--- a/ui/pagepainter.cpp
+++ b/ui/pagepainter.cpp
@@ -385,6 +385,8 @@ void PagePainter::paintCroppedPageOnPainter( QPainter *
destPainter, const Okula
                 QPainter painter(&backImage);
                
painter.setCompositionMode(QPainter::CompositionMode_Multiply);
                 painter.fillRect(highlightRect, highlightColor);
+                painter.setPen(Qt::black);
+                painter.drawRect(highlightRect);
             }
         }
         // 4B.4. paint annotations [COMPOSITED ONES]

I am not convinced that hard-wiring Qt::black is a good idea.  What is a good
color?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to