[vlc-devel] commit: Qt: use qtu( ) when appropriate (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Feb 24 18:11:31 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Feb 24 18:10:25 2010 +0100| [c895ed19b17074a1a760602596dfa746239974ca] | committer: Jean-Baptiste Kempf 

Qt: use qtu( ) when appropriate

Close #3333

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c895ed19b17074a1a760602596dfa746239974ca
---

 .../gui/qt4/components/playlist/playlist_model.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp
index 479e602..ebf78d7 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.cpp
@@ -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() )




More information about the vlc-devel mailing list