omads/omadsappui/ui/src/NSmlDSSyncAppUi.cpp
branchRCL_3
changeset 24 661c849b1858
parent 1 95fdac6ccb5c
equal deleted inserted replaced
21:2bbcc0756c6d 24:661c849b1858
    64 	    iAppContainer->ConstructL(ClientRect());
    64 	    iAppContainer->ConstructL(ClientRect());
    65 	    AddToStackL(iAppContainer);
    65 	    AddToStackL(iAppContainer);
    66 
    66 
    67 	    TBuf<KBufSize128> buf;
    67 	    TBuf<KBufSize128> buf;
    68 	    CNSmlDSSyncDocument* document= STATIC_CAST(CNSmlDSSyncDocument*, Document());
    68 	    CNSmlDSSyncDocument* document= STATIC_CAST(CNSmlDSSyncDocument*, Document());
    69 	    document->Model()->ShowSettingsL(0, KModeDialogNoWait, buf);
    69 	    TRAPD(err, document->Model()->ShowSettingsL(0, KModeDialogNoWait, buf));
       
    70 	    if(err != KErrNone)
       
    71 	        {
       
    72             iAvkonAppUi->Exit();
       
    73 	        }
    70 		}
    74 		}
    71 
    75 
    72     FLOG( _L("CNSmlDSSyncAppUi::ConstructL END") );
    76     FLOG( _L("CNSmlDSSyncAppUi::ConstructL END") );
    73     }
    77     }
    74     
    78