From 72b469b7123f2086c3ff90fc2a612cd9c748dd1f Mon Sep 17 00:00:00 2001 From: Tobias Koenig Date: Thu, 6 Mar 2008 13:33:17 +0000 Subject: [PATCH] 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 --- ui/propertiesdialog.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/ui/propertiesdialog.cpp b/ui/propertiesdialog.cpp index 01325674a..0b1875d77 100644 --- a/ui/propertiesdialog.cpp +++ b/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 * ) ) );