]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/qt4.cpp
Remove libvlc->psz_homedir and use config_GetHomeDir() instead
[vlc] / modules / gui / qt4 / qt4.cpp
index 45b4c562e5a34c745cd95e3e47c918338f9088a8..28b4c7cb70fc6cb91470a0f95758af1cc3fa0879 100644 (file)
@@ -368,7 +368,7 @@ static void Init( intf_thread_t *p_intf )
     /*        retrieve last known path used in file browsing */
     char *psz_path = config_GetPsz( p_intf, "qt-filedialog-path" );
     p_intf->p_sys->psz_filepath = EMPTY_STR( psz_path ) ? psz_path
-                           : p_intf->p_libvlc->psz_homedir;
+                           : config_GetHomeDir();
 
 #ifdef UPDATE_CHECK
     /* Checking for VLC updates */