From: RĂ©mi Duraffort Date: Sun, 27 Jul 2008 18:03:41 +0000 (+0200) Subject: Fix previous commit and add a little comment. X-Git-Tag: 0.9.0-test3~211 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=5adb0bd244776519e2f8f8d64b07ad6bdd195a10;hp=1595a7ef89f45c936857d3e12aff5f66cb2b0880;p=vlc Fix previous commit and add a little comment. --- diff --git a/modules/gui/qt4/dialogs/help.cpp b/modules/gui/qt4/dialogs/help.cpp index 16c8221ef0..d1c16fe659 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 ) ); }