case ACTION_ENQUEUEFILE:
foreach( const QString &uri, a.uris )
- playlist_Add( THEPL, uri.toAscii().constData(),
+ playlist_Add( THEPL, uri.toLatin1().constData(),
NULL, PLAYLIST_APPEND | PLAYLIST_PREPARSE,
PLAYLIST_END,
getPLRootType() == ROOTTYPE_CURRENT_PLAYING,
case ACTION_ENQUEUEDIR:
if( a.uris.isEmpty() ) break;
- p_input = input_item_New( a.uris.first().toAscii().constData(), NULL );
+ p_input = input_item_New( a.uris.first().toLatin1().constData(), NULL );
if( unlikely( p_input == NULL ) ) break;
/* FIXME: playlist_AddInput() can fail */
case VLCModelSubInterface::ACTION_EXPLORE:
/* locally handled only */
temp = model->getURI( index );
- if( ! temp.isEmpty() ) path = make_path( temp.toAscii().constData() );
+ if( ! temp.isEmpty() ) path = make_path( temp.toLatin1().constData() );
if( path == NULL ) return;
QDesktopServices::openUrl(
QUrl::fromLocalFile( QFileInfo( qfu( path ) ).absolutePath() ) );