97 HbExtendedLocale locale = HbExtendedLocale::system(); |
97 HbExtendedLocale locale = HbExtendedLocale::system(); |
98 |
98 |
99 mFileDetailsUpdated = true; |
99 mFileDetailsUpdated = true; |
100 |
100 |
101 // |
101 // |
102 // Description |
|
103 // |
|
104 addItemToListWidget( |
|
105 hbTrId( "txt_videos_list_description" ), details->mDescription ); |
|
106 |
|
107 // |
|
108 // File name & File path |
102 // File name & File path |
109 // |
103 // |
110 // prevent exposure of private paths and show only : |
104 // prevent exposure of private paths and show only : |
111 // (a) for standalone video player not when is launched from another app |
105 // (a) for standalone video player not when is launched from another app |
112 // (b) for local playback ony not for streaming video |
106 // (b) for local playback ony not for streaming video |
113 // |
107 // |
114 if ( !mController->isService() ) |
108 if ( !mController->isService() ) |
115 { |
109 { |
116 QFileInfo fileInfo( details->mClipName ); |
110 QFileInfo fileInfo( details->mClipName ); |
117 |
111 |
118 // File name |
112 // File name |
119 QString filename = fileInfo.completeBaseName(); |
113 QString filename = fileInfo.completeBaseName(); |
120 addItemToListWidget( hbTrId( "txt_videos_list_file_name" ), filename ); |
114 addItemToListWidget( hbTrId( "txt_videos_list_file_name" ), filename ); |
121 |
115 |
122 // File path |
116 // File path |
123 QString path = fileInfo.absoluteFilePath(); |
117 QString path = fileInfo.absoluteFilePath(); |
124 addItemToListWidget( hbTrId( "txt_videos_list_file_path" ), path ); |
118 addItemToListWidget( hbTrId( "txt_videos_list_file_path" ), path ); |
125 } |
119 } |
126 |
120 |
|
121 // |
|
122 // Description |
|
123 // |
|
124 addItemToListWidget( |
|
125 hbTrId( "txt_videos_list_description" ), details->mDescription ); |
|
126 |
127 // |
127 // |
128 // Duration |
128 // Duration |
129 // |
129 // |
130 makeDurationItem( details ); |
130 makeDurationItem( details ); |
131 |
131 |