Commit 4acafe19 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4: fix open dialog issue when file browser is embedded

Close #3893
(cherry picked from commit e2254d4cc2ad6e358bc707e60a88015de3af4a44)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 55c1e9cc
......@@ -229,7 +229,11 @@ void FileOpenPanel::updateMRL()
fileList << ui.fileListWidg->item( i )->text();
}
else
{
fileList = dialogBox->selectedFiles();
for( int i = 0; i < fileList.count(); i++ )
fileList[i] = toNativeSeparators( fileList[i] );
}
/* Options */
if( ui.subCheckBox->isChecked() && !ui.subInput->text().isEmpty() ) {
......
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