diff --git a/ui/pageviewutils.cpp b/ui/pageviewutils.cpp index 52c158957..16792eaff 100644 --- a/ui/pageviewutils.cpp +++ b/ui/pageviewutils.cpp @@ -261,6 +261,7 @@ void PageViewMessage::paintEvent( QPaintEvent * /* e */ ) painter.setRenderHint( QPainter::Antialiasing, true ); painter.setPen( Qt::black ); painter.setBrush( palette().color( QPalette::Window ) ); + painter.translate( 0.5, 0.5 ); painter.drawRoundRect( 1, 1, width()-2, height()-2, 1600 / width(), 1600 / height() ); // draw icon if present diff --git a/ui/side_reviews.cpp b/ui/side_reviews.cpp index 9410d693e..b7f0da5cb 100644 --- a/ui/side_reviews.cpp +++ b/ui/side_reviews.cpp @@ -67,6 +67,7 @@ class TreeView : public QTreeView const uint h = document.size().height() + 20; p.setBrush( palette().background() ); + p.translate( 0.5, 0.5 ); p.drawRoundRect( 15, 15, w, h, (8*200)/w, (8*200)/h ); p.translate( 20, 20 ); document.drawContents( &p );