[vlc-devel] commit: Fix previous commit and add a little comment. ( Rémi Duraffort )

git version control git at videolan.org
Sun Jul 27 20:01:04 CEST 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Jul 27 20:03:41 2008 +0200| [5adb0bd244776519e2f8f8d64b07ad6bdd195a10]

Fix previous commit and add a little comment.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5adb0bd244776519e2f8f8d64b07ad6bdd195a10
---

 modules/gui/qt4/dialogs/help.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/dialogs/help.cpp b/modules/gui/qt4/dialogs/help.cpp
index 16c8221..d1c16fe 100644
--- a/modules/gui/qt4/dialogs/help.cpp
+++ b/modules/gui/qt4/dialogs/help.cpp
@@ -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 ) );
         }




More information about the vlc-devel mailing list