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

Qt: allow to select inexistent files from Prefs

 - for some reason, this worked on Linux (?!?)
 - for some other reason, there doesn't seem to be 2 different modes for add_file

Close #4004
(cherry picked from commit 0e3e62f3)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent fbe5c6b1
......@@ -340,7 +340,7 @@ FileConfigControl::FileConfigControl( vlc_object_t *_p_this,
void FileConfigControl::updateField()
{
QString file = QFileDialog::getOpenFileName( NULL,
QString file = QFileDialog::getSaveFileName( NULL,
qtr( "Select File" ), QVLCUserDir( VLC_HOME_DIR ) );
if( file.isNull() ) return;
text->setText( toNativeSeparators( file ) );
......
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