diff -r 175a0d824084 -r 676b6116ca93 coreapplicationuis/Rfs/src/rfsConnectionObserver.cpp --- a/coreapplicationuis/Rfs/src/rfsConnectionObserver.cpp Tue Oct 12 17:17:12 2010 +0300 +++ b/coreapplicationuis/Rfs/src/rfsConnectionObserver.cpp Wed Oct 20 17:03:03 2010 +0300 @@ -18,13 +18,14 @@ */ // SYSTEM INCLUDES -#include + #include #include #include #include #include #include +#include @@ -224,8 +225,13 @@ // Start displaying the dialog which will then be closed form the RunL() // Here the code execution blocks and we will proceed further only when // this dialog is canceled + + _LIT(Klocalisationfile, "control_panel_"); + _LIT(KtsfilePath, "z:/resource/qt/translations/"); - HBufC* prompt = StringLoader::LoadLC( R_CLOSING_CONNECTIONS ); + TBool result = HbTextResolverSymbian::Init(Klocalisationfile,KtsfilePath); + _LIT(Kclosingconnections,"txt_cp_info_closing_connections"); + HBufC* prompt = HbTextResolverSymbian::LoadL(Kclosingconnections); iDialog->SetTextL(*prompt); @@ -239,8 +245,7 @@ iWait->Start(); delete iWait; iWait=NULL; - CleanupStack::PopAndDestroy( prompt ); - + return iAllConnectionClosed; }