[vlmc-devel] commit: Settings: Avoid creating directories without asking anything to the user. ( Hugo Beauzée-Luyssen )
git at videolan.org
git at videolan.org
Tue Aug 24 21:33:08 CEST 2010
vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Tue Aug 24 20:59:13 2010 +0200| [5af869608fb0eeb28a0c28f31529f1cbd87ff793] | committer: Hugo Beauzée-Luyssen
Settings: Avoid creating directories without asking anything to the user.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=5af869608fb0eeb28a0c28f31529f1cbd87ff793
---
src/Gui/MainWindow.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index 73165ed..075f2a7 100644
--- a/src/Gui/MainWindow.cpp
+++ b/src/Gui/MainWindow.cpp
@@ -276,11 +276,11 @@ MainWindow::initVlmcPreferences()
QT_TRANSLATE_NOOP( "PreferenceWidget", "Confirm clip deletion"),
QT_TRANSLATE_NOOP( "PreferenceWidget", "Ask for confirmation before deleting a clip from the timeline" ) );
- VLMC_CREATE_PREFERENCE_PATH( "general/DefaultProjectLocation", QDir::homePath() + "/VLMC",
+ VLMC_CREATE_PREFERENCE_PATH( "general/DefaultProjectLocation", QDir::homePath(),
QT_TRANSLATE_NOOP( "PreferencesWidget", "Project default location" ),
QT_TRANSLATE_NOOP( "PreferenceWidget", "The default location where to store projects folders" ) );
- VLMC_CREATE_PREFERENCE_PATH( "general/TempFolderLocation", QDir::homePath() + "/VLMC/Temp",
+ VLMC_CREATE_PREFERENCE_PATH( "general/TempFolderLocation", QDir::tempPath() + "/VLMC/",
QT_TRANSLATE_NOOP( "PreferencesWidget", "Temporary folder" ),
QT_TRANSLATE_NOOP( "PreferenceWidget", "The temporary folder used by VLMC to process videos." ) );
More information about the Vlmc-devel
mailing list