[vlc-commits] Qt(dialog provider): fix utf8 issue with generic dialog box title
Erwan Tulou
git at videolan.org
Sun Jul 13 13:56:38 CEST 2014
vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sun Jul 13 13:06:24 2014 +0200| [79ad172e33a2ef61368d11b54a3fd3567bc302dc] | committer: Erwan Tulou
Qt(dialog provider): fix utf8 issue with generic dialog box title
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=79ad172e33a2ef61368d11b54a3fd3567bc302dc
---
modules/gui/qt4/dialogs_provider.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index 5729a7f..bd4dd9e 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -341,7 +341,8 @@ void DialogsProvider::openFileGenericDialog( intf_dialog_args_t *p_arg )
/* Save */
if( p_arg->b_save )
{
- QString file = QFileDialog::getSaveFileName( NULL, p_arg->psz_title,
+ QString file = QFileDialog::getSaveFileName( NULL,
+ qfu( p_arg->psz_title ),
p_intf->p_sys->filepath, extensions );
if( !file.isEmpty() )
{
@@ -355,7 +356,7 @@ void DialogsProvider::openFileGenericDialog( intf_dialog_args_t *p_arg )
else /* non-save mode */
{
QStringList files = QFileDialog::getOpenFileNames( NULL,
- p_arg->psz_title, p_intf->p_sys->filepath,
+ qfu( p_arg->psz_title ), p_intf->p_sys->filepath,
extensions );
p_arg->i_results = files.count();
p_arg->psz_results = (char **)malloc( p_arg->i_results * sizeof( char * ) );
More information about the vlc-commits
mailing list