]> git.sesse.net Git - vlc/commitdiff
Fix previous commit and add a little comment.
authorRémi Duraffort <ivoire@videolan.org>
Sun, 27 Jul 2008 18:03:41 +0000 (20:03 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Sun, 27 Jul 2008 18:03:41 +0000 (20:03 +0200)
modules/gui/qt4/dialogs/help.cpp

index 16c8221ef091a24202926f85b11cee5c5f6061e8..d1c16fe659d4437bcd5ec2770df22073202134ac 100644 (file)
@@ -262,10 +262,12 @@ void UpdateDialog::UpdateOrDownload()
 
         if( dest_dir != "" )
         {
+            /*HACK: Qt4 isn't able to change the way OS deals with diretories names.
+                    Windows doesn't add an ending separtor so we might add it. */
             #if defined( WIN32 ) || defined( UNDER_CE )
             dest_dir += DIR_SEP;
             #endif
-            msg_Dbg( p_intf, "Downloading to folder: %s", dest_dir );
+            msg_Dbg( p_intf, "Downloading to folder: %s", qtu( dest_dir ) );
             toggleVisible();
             update_Download( p_update, qtu( dest_dir ) );
         }