Commit c895ed19 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: use qtu( ) when appropriate

Close #3333
parent 9a2adcfd
......@@ -854,7 +854,7 @@ void PLModel::search( const QString& search_text, const QModelIndex & idx, bool
playlist_item_t *p_root = playlist_ItemGetById( p_playlist,
itemId( idx ) );
assert( p_root );
const char *psz_name = search_text.toUtf8().data();
const char *psz_name = qtu( search_text );
playlist_LiveSearchUpdate( p_playlist , p_root, psz_name, b_recursive );
if( idx.isValid() )
......
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