Don't set the minimumSize manually, let QLayout do the job,

now that KPageView has been fixed in kdelibs.

BUG: 158570

svn path=/trunk/KDE/kdegraphics/okular/; revision=782913
remotes/origin/KDE/4.1
Tobias Koenig 18 years ago
parent 14d47622d8
commit 72b469b712
  1. 2
      ui/propertiesdialog.cpp

@ -132,8 +132,6 @@ PropertiesDialog::PropertiesDialog(QWidget *parent, Okular::Document *doc)
QRect screenContainer = KGlobalSettings::desktopGeometry( this );
width = qMin( width, 2*screenContainer.width()/3 );
resize(width, 1);
// TODO ?
setMinimumSize(sizeHint());
connect( pageWidget(), SIGNAL( currentPageChanged( KPageWidgetItem *, KPageWidgetItem * ) ),
this, SLOT( pageChanged( KPageWidgetItem *, KPageWidgetItem * ) ) );

Loading…
Cancel
Save