Commit 0d33f98e authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

Qt: QString::fromAscii has been deprecated in Qt5

parent 8fc155e5
...@@ -332,7 +332,7 @@ void DialogsProvider::openFileGenericDialog( intf_dialog_args_t *p_arg ) ...@@ -332,7 +332,7 @@ void DialogsProvider::openFileGenericDialog( intf_dialog_args_t *p_arg )
foreach( const QString &file, files ) foreach( const QString &file, files )
p_arg->psz_results[i++] = strdup( qtu( toNativeSepNoSlash( file ) ) ); p_arg->psz_results[i++] = strdup( qtu( toNativeSepNoSlash( file ) ) );
if(i == 0) if(i == 0)
p_intf->p_sys->filepath = QString::fromAscii(""); p_intf->p_sys->filepath = QString::fromLatin1("");
else else
p_intf->p_sys->filepath = qfu( p_arg->psz_results[i-1] ); p_intf->p_sys->filepath = qfu( p_arg->psz_results[i-1] );
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment