[vlc-devel] commit: Get/Put VLM config to documents directory ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Aug 26 00:00:58 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Aug 26 00:59:14 2009 +0300| [1874e4322c5721637f86dc6bb1a09ec431f12db2] | committer: Rémi Denis-Courmont 

Get/Put VLM config to documents directory

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1874e4322c5721637f86dc6bb1a09ec431f12db2
---

 modules/gui/qt4/dialogs/vlm.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/dialogs/vlm.cpp b/modules/gui/qt4/dialogs/vlm.cpp
index 8a706dc..a542378 100644
--- a/modules/gui/qt4/dialogs/vlm.cpp
+++ b/modules/gui/qt4/dialogs/vlm.cpp
@@ -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() )




More information about the vlc-devel mailing list