emailuis/nmailui/src/nmapplication.cpp
changeset 74 6c59112cfd31
parent 68 83cc6bae1de8
child 76 38bf5461e270
equal deleted inserted replaced
69:4e54af54a4a1 74:6c59112cfd31
   560         // Check whether requested view is already active and if so, ask it
   560         // Check whether requested view is already active and if so, ask it
   561         // to reload contents with new start parameter data. Do not reuse the
   561         // to reload contents with new start parameter data. Do not reuse the
   562         // view if started as service to editor view (ShareUI).
   562         // view if started as service to editor view (ShareUI).
   563         if (mActiveViewId == startParam->viewId() &&
   563         if (mActiveViewId == startParam->viewId() &&
   564         	(!startParam->service() || mActiveViewId!=NmUiViewMessageEditor)) {
   564         	(!startParam->service() || mActiveViewId!=NmUiViewMessageEditor)) {
       
   565             
       
   566             //startParam pointer is tested before usage below
       
   567             //coverity[deref_arg]
   565             mViewStack->top()->reloadViewContents(startParam);
   568             mViewStack->top()->reloadViewContents(startParam);
   566         }
   569         }
   567         else {
   570         else {
   568             switch (startParam->viewId()) {
   571             switch (startParam->viewId()) {
   569                 case NmUiViewMailboxList:
   572                 case NmUiViewMailboxList: