[vlc-commits] Qt: try to fix recents crash on WinXP

Jean-Baptiste Kempf git at videolan.org
Thu Aug 23 21:55:54 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Aug 23 21:55:01 2012 +0200| [0ceaef7d1e66f4b04011dd7ca216c98e79ca146b] | committer: Jean-Baptiste Kempf

Qt: try to fix recents crash on WinXP

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

 modules/gui/qt4/recents.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/recents.cpp b/modules/gui/qt4/recents.cpp
index a1b0fc4..12a892c 100755
--- a/modules/gui/qt4/recents.cpp
+++ b/modules/gui/qt4/recents.cpp
@@ -91,7 +91,7 @@ void RecentsMRL::addRecent( const QString &mrl )
     char* path = make_path( qtu( mrl ) );
     if( path )
     {
-        SHAddToRecentDocs( SHARD_PATHW, path );
+        SHAddToRecentDocs( SHARD_PATHW, mrl.utf16() );
         free( path );
     }
 #endif



More information about the vlc-commits mailing list