Commit bbfb5301 authored by Albert Astals Cid's avatar Albert Astals Cid

Fix presentation placement on xinerama

BUG: 97347

svn path=/trunk/kdegraphics/kpdf/; revision=381994
parent 9c0ad329
......@@ -52,9 +52,9 @@ PresentationWidget::PresentationWidget( KPDFDocument * doc )
{
// set look and geometry
setBackgroundMode( Qt::NoBackground );
QDesktopWidget * d = QApplication::desktop();
m_width = d->width();
m_height = d->height();
QRect d = KGlobalSettings::desktopGeometry(this);
m_width = d.width();
m_height = d.height();
// create top toolbar
m_topBar = new KToolBar( this, "presentationBar" );
......
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