mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
Fix presentation placement on xinerama
BUG: 97347 svn path=/trunk/kdegraphics/kpdf/; revision=381994
This commit is contained in:
parent
9c0ad32927
commit
bbfb530155
1 changed files with 3 additions and 3 deletions
|
@ -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" );
|
||||
|
|
Loading…
Reference in a new issue