]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/help.cpp
Fix comment !
[vlc] / modules / gui / qt4 / dialogs / help.cpp
index 1b135bab2ab3a3ed4fe8db740f9bbb61791dedae..559e751b190cb404ff2e6934cffa0eae77205874 100644 (file)
@@ -262,6 +262,13 @@ void UpdateDialog::UpdateOrDownload()
 
         if( dest_dir != "" )
         {
+            /*HACK: Qt4 isn't able to change the way OS deals with directories
+              names. Windows doesn't add an ending separator so we might add it.
+             */
+            #if defined( WIN32 ) || defined( UNDER_CE )
+            dest_dir += DIR_SEP;
+            #endif
+            msg_Dbg( p_intf, "Downloading to folder: %s", qtu( dest_dir ) );
             toggleVisible();
             update_Download( p_update, qtu( dest_dir ) );
         }