Commit 7ddc194c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix opening of the last folder in open disc dialog

(cherry picked from commit 04a79492408acd2f7c911d84ca5fd6ba851b0e87)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 7a6bff50
...@@ -570,7 +570,7 @@ void DiscOpenPanel::updateMRL() ...@@ -570,7 +570,7 @@ void DiscOpenPanel::updateMRL()
void DiscOpenPanel::browseDevice() void DiscOpenPanel::browseDevice()
{ {
QString dir = QFileDialog::getExistingDirectory( this, QString dir = QFileDialog::getExistingDirectory( this,
qtr( I_DEVICE_TOOLTIP ) ); qtr( I_DEVICE_TOOLTIP ), p_intf->p_sys->filepath );
if( !dir.isEmpty() ) if( !dir.isEmpty() )
{ {
ui.deviceCombo->addItem( toNativeSepNoSlash( dir ) ); ui.deviceCombo->addItem( toNativeSepNoSlash( dir ) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment