mpxmusicplayer/commonui/src/mpxcommonuihelper.cpp
branchRCL_3
changeset 11 13afc0e517bd
parent 0 ff3acec5bc43
child 14 943ff5625028
--- a/mpxmusicplayer/commonui/src/mpxcommonuihelper.cpp	Tue Feb 02 00:09:33 2010 +0200
+++ b/mpxmusicplayer/commonui/src/mpxcommonuihelper.cpp	Fri Feb 19 22:48:30 2010 +0200
@@ -1200,8 +1200,8 @@
             if ( iCollectionUiHelper->TitleExistsL( EMPXPlaylist, aNewName, EMPXOtherType ) )
                 {
                 HBufC* info = StringLoader::LoadLC( R_MPX_PLAYLIST_NAME_EXIST, aNewName );
-
-                if( CEikonEnv::Static()->QueryWinL( KNullDesC, *info ) )
+                CAknQueryDialog* query = new(ELeave)CAknQueryDialog( *info );
+                if( query->ExecuteLD( R_RENAME_QUERY ) )
                     {
                     if ( !LaunchRenameDialogL( aOldName, aNewName, aPath ) )
                         {
@@ -1923,8 +1923,8 @@
         if ( iCollectionUiHelper->TitleExistsL( EMPXPlaylist, aName, EMPXOtherType ) )
             {
             HBufC* info = StringLoader::LoadLC( R_MPX_PLAYLIST_NAME_EXIST, aName );
-
-            if( CEikonEnv::Static()->QueryWinL( KNullDesC, *info ) )
+            CAknQueryDialog* query = new(ELeave)CAknQueryDialog( *info );
+            if( query->ExecuteLD( R_RENAME_QUERY ) )
                 {
                 if ( !PlaylistCreateNameExistL( aName, aParse ) )
                     {