vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Mon Oct 31 18:43:49 2011 +0100| [f189f90f64398ff389a3866a683770503dbd515d] | committer: Jean-Baptiste Kempf
Qt: use %tmp%/$TMP folder for updates Instead of asking the user for where to place it... I think %tmp% should always be writtable. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f189f90f64398ff389a3866a683770503dbd515d --- modules/gui/qt4/dialogs/help.cpp | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/modules/gui/qt4/dialogs/help.cpp b/modules/gui/qt4/dialogs/help.cpp index 4fee7ed..a288ce1 100644 --- a/modules/gui/qt4/dialogs/help.cpp +++ b/modules/gui/qt4/dialogs/help.cpp @@ -43,7 +43,6 @@ #include <QString> #include <QDialogButtonBox> #include <QEvent> -#include <QFileDialog> #include <QDate> #include <QPushButton> @@ -201,10 +200,7 @@ void UpdateDialog::UpdateOrDownload() } else { - QString dest_dir = QFileDialog::getExistingDirectory( this, - qtr( I_OP_SEL_DIR ), - QVLCUserDir( VLC_DOWNLOAD_DIR ) ); - + QString dest_dir = QDir::tempPath(); if( !dest_dir.isEmpty() ) { dest_dir = toNativeSepNoSlash( dest_dir ) + DIR_SEP; _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
