]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/preferences_widgets.cpp
Qt: allow to select inexistent files from Prefs
[vlc] / modules / gui / qt4 / components / preferences_widgets.cpp
index 5508ae664aa771a0eb795c3c5e0bd2b363f7858f..56c68f29027b6d0ae4a0c0483c8b8c1e5d783de9 100644 (file)
@@ -341,7 +341,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 ) );