diff -r d2b028fd1f7d -r 4707a0db12f6 videoplayback/videoplaybackview/controlsrc/videoplaybackfiledetailswidget.cpp --- a/videoplayback/videoplaybackview/controlsrc/videoplaybackfiledetailswidget.cpp Fri Sep 03 12:37:43 2010 +0300 +++ b/videoplayback/videoplaybackview/controlsrc/videoplaybackfiledetailswidget.cpp Mon Sep 20 18:25:37 2010 +0300 @@ -15,7 +15,7 @@ * */ -// Version : %version: 28 % +// Version : %version: 29 % #include @@ -102,8 +102,28 @@ // Description // addItemToListWidget( - hbTrId( "txt_videos_list_description" ), details->mDescription ); - + hbTrId( "txt_videos_list_description" ), details->mDescription ); + + // + // File name & File path + // + // prevent exposure of private paths and show only : + // (a) for standalone video player not when is launched from another app + // (b) for local playback ony not for streaming video + // + if ( !mController->isService() ) + { + QFileInfo fileInfo( details->mClipName ); + + // File name + QString filename = fileInfo.completeBaseName(); + addItemToListWidget( hbTrId( "txt_videos_list_file_name" ), filename ); + + // File path + QString path = fileInfo.absoluteFilePath(); + addItemToListWidget( hbTrId( "txt_videos_list_file_path" ), path ); + } + // // Duration //