Commit 7e412556 authored by Pino Toscano's avatar Pino Toscano

give back the old cool look to the wheel progress overlay of the presentation mode

svn path=/trunk/playground/graphics/okular/; revision=554869
parent e8312ef9
......@@ -662,7 +662,7 @@ void PresentationWidget::generateOverlay()
// end drawing pixmap and halve image
pixmapPainter.end();
QImage image( doublePixmap.toImage().scaled( side / 2, side / 2, Qt::IgnoreAspectRatio, Qt::SmoothTransformation ) );
image.setAlphaBuffer( true );
image = image.convertToFormat( QImage::Format_ARGB32 );
// draw circular shadow using the same technique
doublePixmap.fill( Qt::black );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment