Commit d4db9fc9 authored by Rafaël Carré's avatar Rafaël Carré

Uses qfu() instead of QString::fromUtf8()

parent 161928b3
...@@ -85,14 +85,12 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf ) ...@@ -85,14 +85,12 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
/* GPL License */ /* GPL License */
QTextEdit *licenseEdit = new QTextEdit( this ); QTextEdit *licenseEdit = new QTextEdit( this );
QString psz_qlicence = QString::fromUtf8( psz_licence ); licenseEdit->setText( qfu( psz_licence ) );
licenseEdit->setText( psz_qlicence );
licenseEdit->setReadOnly( true ); licenseEdit->setReadOnly( true );
/* People who helped */ /* People who helped */
QTextEdit *thanksEdit = new QTextEdit( this ); QTextEdit *thanksEdit = new QTextEdit( this );
QString psz_qthanks = QString::fromUtf8( psz_thanks ); thanksEdit->setText( qfu( psz_thanks ) );
thanksEdit->setText( psz_qthanks );
thanksEdit->setReadOnly( true ); thanksEdit->setReadOnly( true );
/* add the tabs to the Tabwidget */ /* add the tabs to the Tabwidget */
......
...@@ -194,8 +194,7 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent ) ...@@ -194,8 +194,7 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
if( model->i_depth == 1 ) //left window for playlist etc. if( model->i_depth == 1 ) //left window for playlist etc.
{ {
const QString psz_name = QString::fromUtf8( p_item->p_input->psz_name ); strings.append( qfu( p_item->p_input->psz_name ) );
strings.append( psz_name );
return; return;
} }
......
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