From 83d5c6bb1bf0b3cba78b7b4901702ae96c33ae58 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Fri, 8 Feb 2013 08:01:32 +0100 Subject: [PATCH] Don't hardcode size --- kmmainwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmmainwidget.cpp b/kmmainwidget.cpp index e759f3b8d..5302a8087 100644 --- a/kmmainwidget.cpp +++ b/kmmainwidget.cpp @@ -4707,7 +4707,7 @@ void KMMainWidget::slotCollectionPropertiesFinished( KJob *job ) Akonadi::CollectionPropertiesDialog *dlg = new Akonadi::CollectionPropertiesDialog( collection, pages, this ); dlg->setCaption( i18nc( "@title:window", "Properties of Folder %1", collection.name() ) ); - dlg->resize( 500, 400 ); + const QString pageToShow = fetch->property( "pageToShow" ).toString(); if ( !pageToShow.isEmpty() ) { // show a specific page