[vlmc-devel] commit: Wizard: fixing variables name. (Hugo Beauzee-Luyssen )

git at videolan.org git at videolan.org
Fri Mar 19 11:47:50 CET 2010


vlmc | branch: master | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Fri Mar 19 11:46:14 2010 +0100| [5c9a692b56a4bdf8d0b61c9cc976d99afecd4622] | committer: Hugo Beauzee-Luyssen 

Wizard: fixing variables name.

Fixes #24

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=5c9a692b56a4bdf8d0b61c9cc976d99afecd4622
---

 src/Gui/wizard/GeneralPage.cpp |    2 +-
 src/Gui/wizard/VideoPage.cpp   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Gui/wizard/GeneralPage.cpp b/src/Gui/wizard/GeneralPage.cpp
index f14fd35..1114323 100644
--- a/src/Gui/wizard/GeneralPage.cpp
+++ b/src/Gui/wizard/GeneralPage.cpp
@@ -86,7 +86,7 @@ bool GeneralPage::validatePage()
     }
 
     QVariant projectName( ui.lineEditName->text() );
-    sManager->setValue( "project/ProjectName", projectName, SettingsManager::Project );
+    sManager->setValue( "general/ProjectName", projectName, SettingsManager::Project );
 
     return true;
 }
diff --git a/src/Gui/wizard/VideoPage.cpp b/src/Gui/wizard/VideoPage.cpp
index 4b4dd86..52e87b4 100644
--- a/src/Gui/wizard/VideoPage.cpp
+++ b/src/Gui/wizard/VideoPage.cpp
@@ -99,7 +99,7 @@ bool VideoPage::validatePage()
     QVariant    projectWidth( ui.spinBoxVideoWidth->value() );
 
     sManager->setValue( "video/VLMCOutputFPS", projectFps, SettingsManager::Project );
-    sManager->setValue( "video/VideoProjectHeigh", projectHeight, SettingsManager::Project );
+    sManager->setValue( "video/VideoProjectHeight", projectHeight, SettingsManager::Project );
     sManager->setValue( "video/VideoProjectWidth", projectWidth, SettingsManager::Project );
     sManager->commit( SettingsManager::Project );
 



More information about the Vlmc-devel mailing list