diff -r 00c7ae862740 -r d845db10c0d4 emailuis/nmailui/src/nmviewerserviceinterface.cpp --- a/emailuis/nmailui/src/nmviewerserviceinterface.cpp Fri Jul 02 15:55:16 2010 +0300 +++ b/emailuis/nmailui/src/nmviewerserviceinterface.cpp Fri Jul 09 12:17:13 2010 +0300 @@ -57,10 +57,12 @@ NM_FUNCTION; mAsyncReqId = setCurrentRequestAsync(); - - NmId mailboxNmId(mailboxId.toULongLong()); - NmId messageNmId(messageId.toULongLong()); - NmId folderNmId(folderId.toULongLong()); + NmId mailboxNmId(0); + mailboxNmId = mailboxId.toULongLong(); + NmId messageNmId(0); + messageNmId = messageId.toULongLong(); + NmId folderNmId(0); + folderNmId = folderId.toULongLong(); // Make sure the app stays background if user presses back in viewer view bool visible = mApplication->updateVisibilityState();