emailuis/nmailui/src/nmmailboxlistview.cpp
changeset 47 f83bd4ae1fe3
parent 43 99bcbff212ad
child 48 10eaf342f539
--- a/emailuis/nmailui/src/nmmailboxlistview.cpp	Fri Jun 11 16:42:02 2010 +0300
+++ b/emailuis/nmailui/src/nmmailboxlistview.cpp	Thu Jun 24 14:32:18 2010 +0300
@@ -78,14 +78,11 @@
     NM_FUNCTION;
     
     // Use document loader to load the view
-    bool ok = false;
+    bool ok(false);
     setObjectName(QString(NMUI_MAILBOX_LIST_VIEW));
-    QObjectList objectList;
-    objectList.append(this);
     // Pass the view to documentloader. Document loader uses this view
     // when docml is parsed, instead of creating new view.
     if (mDocumentLoader) {
-        mDocumentLoader->setObjectTree(objectList);
         mWidgetList = mDocumentLoader->load(NMUI_MAILBOX_LIST_VIEW_XML, &ok);
     }
 
@@ -211,17 +208,4 @@
     }
 }
 
-/*!
-    handleActionCommand. From NmMenuObserver, extension manager calls this
-    call to handle menu command in the UI.
-*/
 
-void NmMailboxListView::handleActionCommand(NmActionResponse &actionResponse)
-{
-    NM_FUNCTION;
-    
-    // Handle context menu commands here
-    Q_UNUSED(actionResponse);
-}
-
-