mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 19:50:27 +00:00
finish drawing on the mask before setting it to the widget
svn path=/trunk/playground/graphics/okular/; revision=621865
This commit is contained in:
parent
1b49db09d5
commit
b9514f2310
|
@ -172,6 +172,7 @@ void PageViewMessage::display( const QString & message, Icon icon, int durationM
|
|||
mask.fill( Qt::white );
|
||||
maskPainter.setBrush( Qt::black );
|
||||
maskPainter.drawRoundRect( geometry, 1600 / geometry.width(), 1600 / geometry.height() );
|
||||
maskPainter.end();
|
||||
setMask( mask );
|
||||
|
||||
// draw background
|
||||
|
|
Loading…
Reference in a new issue