summaryrefslogtreecommitdiff
path: root/lib-contact/ct-list/src/CtListBasicController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib-contact/ct-list/src/CtListBasicController.cpp')
-rwxr-xr-xlib-contact/ct-list/src/CtListBasicController.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib-contact/ct-list/src/CtListBasicController.cpp b/lib-contact/ct-list/src/CtListBasicController.cpp
index 35a2fa0..72cc6e7 100755
--- a/lib-contact/ct-list/src/CtListBasicController.cpp
+++ b/lib-contact/ct-list/src/CtListBasicController.cpp
@@ -33,7 +33,6 @@
#include "ContactsDebug.h"
#include "ContactsAppControl.h"
#include "ContactsAppControlLauncher.h"
-#include "CtDetailView.h"
#include "CtType.h"
#include "CtListBasicController.h"
#include "CtListDataPerson.h"
@@ -199,7 +198,6 @@ bool CtListBasicController::__getCheckState(Elm_Object_Item *item)
void CtListBasicController::onSelectItem(Elm_Object_Item *selectedItem, CtListView *view, CtCheckState checkState)
{
WHIT();
- WPRET_M(!view, "invalid view");
Elm_Object_Item *item = selectedItem;
elm_genlist_item_selected_set(selectedItem, EINA_FALSE);
@@ -209,10 +207,7 @@ void CtListBasicController::onSelectItem(Elm_Object_Item *selectedItem, CtListVi
switch(__ctrlType){
case LIST_CTRL_DEFAULT:
- {
- WView *detailView = new CtDetailView(itemData->personData->getPersonId());
- view->getNaviframe()->push(detailView);
- }
+ launchContactDetails(itemData->personData->getPersonId());
break;
case LIST_CTRL_DELETE_CONTACTS:
case LIST_CTRL_SHARE_CONTACTS: