Get/Put VLM config to documents directory
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 25 Aug 2009 21:59:14 +0000 (00:59 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 25 Aug 2009 22:00:44 +0000 (01:00 +0300)
modules/gui/qt4/dialogs/vlm.cpp

index 8a706dc..a542378 100644 (file)
@@ -267,7 +267,7 @@ bool VLMDialog::exportVLMConf()
 {
     QString saveVLMConfFileName = QFileDialog::getSaveFileName( this,
                                         qtr( "Save VLM configuration as..." ),
-                                        QVLCUserDir( VLC_HOME_DIR ),
+                                        QVLCUserDir( VLC_DOCUMENTS_DIR ),
                                         qtr( "VLM conf (*.vlm);;All (*)" ) );
 
     if( !saveVLMConfFileName.isEmpty() )
@@ -339,7 +339,7 @@ bool VLMDialog::importVLMConf()
     QString openVLMConfFileName = toNativeSeparators(
             QFileDialog::getOpenFileName(
             this, qtr( "Open VLM configuration..." ),
-            QVLCUserDir( VLC_HOME_DIR ),
+            QVLCUserDir( VLC_DOCUMENTS_DIR ),
             qtr( "VLM conf (*.vlm);;All (*)" ) ) );
 
     if( !openVLMConfFileName.isEmpty() )