[vlc-commits] Qt: fix opening of the last folder in open disc dialog
Jean-Baptiste Kempf
git at videolan.org
Tue Apr 3 01:59:25 CEST 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Apr 3 00:57:45 2012 +0200| [04a79492408acd2f7c911d84ca5fd6ba851b0e87] | committer: Jean-Baptiste Kempf
Qt: fix opening of the last folder in open disc dialog
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=04a79492408acd2f7c911d84ca5fd6ba851b0e87
---
modules/gui/qt4/components/open_panels.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index c9132ea..0bcafc3 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -569,7 +569,7 @@ void DiscOpenPanel::updateMRL()
void DiscOpenPanel::browseDevice()
{
QString dir = QFileDialog::getExistingDirectory( this,
- qtr( I_DEVICE_TOOLTIP ) );
+ qtr( I_DEVICE_TOOLTIP ), p_intf->p_sys->filepath );
if( !dir.isEmpty() )
{
ui.deviceCombo->addItem( toNativeSepNoSlash( dir ) );
More information about the vlc-commits
mailing list