person("pinotree")->happiness++

svn path=/trunk/KDE/kdegraphics/okular/; revision=756180
This commit is contained in:
Eike Hein 2008-01-02 21:52:25 +00:00
parent 2ab6d6f842
commit 93fdfab88c
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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 );