--- a/messagingapp/msgui/conversationview/src/msgconversationbaseview.cpp Tue Jul 06 14:12:40 2010 +0300
+++ b/messagingapp/msgui/conversationview/src/msgconversationbaseview.cpp Wed Aug 18 09:45:25 2010 +0300
@@ -20,7 +20,7 @@
// SYSTEM INCLUDES
#include <QGraphicsLinearLayout>
#include <HbMainWindow>
-#include <HbNotificationDialog>
+#include <HbDeviceNotificationDialog>
#include <xqaiwrequest.h>
#include <xqappmgr.h>
@@ -123,7 +123,6 @@
SIGNAL(switchView(const QVariantList&)));
connect(mConversationView, SIGNAL(vkbOpened(bool)), this, SLOT(hideChrome(bool)));
- connect(mConversationView, SIGNAL(vkbOpened(bool)), mContactCard, SLOT(ignoreSignals(bool)));
this->setMenu(mConversationView->menu());
@@ -162,13 +161,12 @@
int MsgConversationBaseView::saveContentToDrafts()
{
int msgId = INVALID_MSGID;
- bool result = false;
if (mConversationId >= 0) {
msgId = mConversationView->saveContentToDrafts();
}
if (msgId != INVALID_MSGID) {
- HbNotificationDialog::launchDialog(LOC_SAVED_TO_DRAFTS);
+ HbDeviceNotificationDialog::notification("", LOC_SAVED_TO_DRAFTS);
}
return msgId;
}
@@ -268,6 +266,9 @@
mContactCard->show();
}
}
+
+ //forcing relayouting
+ mMainLayout->activate();
}
//---------------------------------------------------------------