messagingapp/msgui/msgapp/src/msgviewmanager.cpp
changeset 51 3507212d340e
parent 48 4f501b74aeb1
child 56 f42d9a78f435
--- a/messagingapp/msgui/msgapp/src/msgviewmanager.cpp	Tue Aug 03 21:34:40 2010 +0530
+++ b/messagingapp/msgui/msgapp/src/msgviewmanager.cpp	Fri Aug 06 23:19:50 2010 +0530
@@ -191,12 +191,10 @@
                 qint32 contactId = mViewerData.at(0).toLongLong();
                 qint32 messageId = mViewerData.at(1).toInt();
                 int msgCount = mViewerData.at(2).toInt();
-                int canForwardMessage = mViewerData.at(3).toInt();
                 
                 param << contactId;
                 param << messageId;
                 param << msgCount;
-                param << canForwardMessage;
             }
             else if(mPreviousView == MsgBaseView::UNIEDITOR){
                 //TODO: Remove error handling once Audio fetcher 
@@ -527,7 +525,7 @@
         mConversationId = -1;
         return;
     }
-    
+
     //delete UniEditor
     if (mUniEditor)
     {
@@ -791,16 +789,14 @@
         qint32 contactId = data.at(2).toLongLong();
         qint32 messageId = data.at(3).toInt();
         int msgCount = data.at(4).toInt();
-        int canForwardMessage = data.at(5).toInt();
 
         //Save the viewer data to be used when u come back from Editor
         mViewerData << contactId;
         mViewerData << messageId;
         mViewerData << msgCount;
-        mViewerData << canForwardMessage;
         
         if (!mUniViewer) {
-            mUniViewer = new UnifiedViewer(messageId, canForwardMessage);
+            mUniViewer = new UnifiedViewer(messageId);
             mUniViewer->setNavigationAction(mBackAction);
             mMainWindow->addView(mUniViewer);
             connect(mUniViewer, SIGNAL(switchView(const QVariantList&)), this,