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

Qt4: do not explode if MyDocument isn't available

See http://forum.videolan.org/viewtopic.php?f=14&t=78396
(cherry picked from commit fe145872fccb389edc97c3dea2463f4956bc3db4)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent f8bfaaf6
......@@ -122,7 +122,7 @@ static inline QString QVLCUserDir( vlc_userdir_t type )
{
char *dir = config_GetUserDir( type );
if( !dir )
abort();
return "";
QString res = qfu( dir );
free( dir );
return res;
......
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