Fix presentation placement on xinerama

BUG: 97347

svn path=/trunk/kdegraphics/kpdf/; revision=381994
This commit is contained in:
Albert Astals Cid 2005-01-24 17:23:35 +00:00
parent 9c0ad32927
commit bbfb530155

View file

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