vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | 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 ) );

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

Reply via email to