vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <[email protected]> | Tue 
Apr  3 00:57:45 2012 +0200| [7ddc194cb376484b3c044fb9e80e8ccf82172e1c] | 
committer: Jean-Baptiste Kempf

Qt: fix opening of the last folder in open disc dialog
(cherry picked from commit 04a79492408acd2f7c911d84ca5fd6ba851b0e87)

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=7ddc194cb376484b3c044fb9e80e8ccf82172e1c
---

 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 61dbed6..d4b1d8f 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -570,7 +570,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 ) );

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to