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

Qt: QString::fromAscii has been deprecated in Qt5

parent 8fc155e5
......@@ -332,7 +332,7 @@ void DialogsProvider::openFileGenericDialog( intf_dialog_args_t *p_arg )
foreach( const QString &file, files )
p_arg->psz_results[i++] = strdup( qtu( toNativeSepNoSlash( file ) ) );
if(i == 0)
p_intf->p_sys->filepath = QString::fromAscii("");
p_intf->p_sys->filepath = QString::fromLatin1("");
else
p_intf->p_sys->filepath = qfu( p_arg->psz_results[i-1] );
}
......
Markdown is supported
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