Commit fe145872 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
parent c2a9fa6d
...@@ -121,7 +121,7 @@ static inline QString QVLCUserDir( vlc_userdir_t type ) ...@@ -121,7 +121,7 @@ static inline QString QVLCUserDir( vlc_userdir_t type )
{ {
char *dir = config_GetUserDir( type ); char *dir = config_GetUserDir( type );
if( !dir ) if( !dir )
abort(); return "";
QString res = qfu( dir ); QString res = qfu( dir );
free( dir ); free( dir );
return res; 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