[vlc-commits] Qt: fix "last folder used" not remembered correctly

Pierre Lamot git at videolan.org
Tue Mar 6 11:10:27 CET 2018


vlc/vlc-3.0 | branch: master | Pierre Lamot <pierre at videolabs.io> | Fri Mar  2 19:11:34 2018 +0100| [55855968526c93f2d0df09255a47c9f169706ec9] | committer: Hugo Beauzée-Luyssen

Qt: fix "last folder used" not remembered correctly

On windows last used folder was stored by its URL,  which cannot by
  used QFileDialog::getXXXFileName.

  This patch will store last used folder by its URL systematically and
  use QFileDialog::getXXXURL. This allows to store non file location (ie: smb)

Fix #19905

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
(cherry picked from commit 7a6f006d59bfeeff833fedffc2583559444d7f7a)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=55855968526c93f2d0df09255a47c9f169706ec9
---

 modules/gui/qt/components/extended_panels.cpp   | 12 ++++++++----
 modules/gui/qt/components/interface_widgets.cpp |  8 +++-----
 modules/gui/qt/components/open_panels.cpp       |  8 +++++---
 modules/gui/qt/components/open_panels.hpp       |  6 ++++--
 modules/gui/qt/components/sout/sout_widgets.cpp |  6 ++++--
 modules/gui/qt/dialogs_provider.cpp             | 24 ++++++++++++++----------
 modules/gui/qt/dialogs_provider.hpp             |  8 ++++----
 modules/gui/qt/qt.hpp                           |  3 ++-
 modules/gui/qt/util/qt_dirs.hpp                 |  1 -
 9 files changed, 44 insertions(+), 32 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commitdiff;h=55855968526c93f2d0df09255a47c9f169706ec9


More information about the vlc-commits mailing list