--- a/phonebookui/pbkcommonui/src/cntfetchcontactpopup.cpp Fri Jul 23 12:43:48 2010 +0300
+++ b/phonebookui/pbkcommonui/src/cntfetchcontactpopup.cpp Thu Aug 05 14:31:09 2010 +0300
@@ -83,6 +83,7 @@
CntFetchContactPopup::~CntFetchContactPopup()
{
delete mDoc;
+ delete mModel;
}
CntFetchContactPopup* CntFetchContactPopup::createMultiSelectionPopup( QString aTitle, QString aAction, QContactManager& aManager )
@@ -212,7 +213,6 @@
}
mMarkAll->setSelectedContactCount( mIdList.size() );
-
CNT_EXIT
}
@@ -370,6 +370,8 @@
{
mHeading = new HbLabel( mTitle );
mPopup->setHeadingWidget( mHeading );
+ qreal popupHeight = mPopup->mainWindow()->layoutRect().height();
+ mPopup->setMinimumHeight(popupHeight);
mDoc->load( CNT_FETCHLIST_XML, multi ? "find_list" : "find_list_single");
}
}
@@ -384,6 +386,8 @@
{
mHeading = new HbLabel( mTitle );
mPopup->setHeadingWidget( mHeading );
+ qreal popupHeight = mPopup->mainWindow()->layoutRect().height();
+ mPopup->setMinimumHeight(popupHeight);
mDoc->load( CNT_FETCHLIST_XML, multi ? "find_empty" : "find_empty_single" );
}
}