--- 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 ) )
{