Commit 6a09a31a authored by Pino Toscano's avatar Pino Toscano
Browse files

use the right page size when placing videos in presentation mode: not the...

use the right page size when placing videos in presentation mode: not the global screen one, but the newly calculated page item one

svn path=/trunk/KDE/kdegraphics/okular/; revision=852302
parent 1157e86d
......@@ -84,7 +84,7 @@ struct PresentationFrame
Q_FOREACH ( VideoWidget *vw, videoWidgets )
{
const Okular::NormalizedRect r = vw->normGeometry();
QRect vwgeom = r.geometry( width, height );
QRect vwgeom = r.geometry( geometry.width(), geometry.height() );
vw->resize( vwgeom.size() );
vw->move( geometry.topLeft() + vwgeom.topLeft() );
}
......
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