Commit 0ceaef7d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: try to fix recents crash on WinXP

parent ec377ed3
...@@ -91,7 +91,7 @@ void RecentsMRL::addRecent( const QString &mrl ) ...@@ -91,7 +91,7 @@ void RecentsMRL::addRecent( const QString &mrl )
char* path = make_path( qtu( mrl ) ); char* path = make_path( qtu( mrl ) );
if( path ) if( path )
{ {
SHAddToRecentDocs( SHARD_PATHW, path ); SHAddToRecentDocs( SHARD_PATHW, mrl.utf16() );
free( path ); free( path );
} }
#endif #endif
......
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