[vlmc-devel] ProjectWizard: Fix not saving values after a new project is created
Yikai Lu
git at videolan.org
Sat Mar 4 19:05:01 CET 2017
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Sat Mar 4 11:58:10 2017 -0600| [feb7b44bad59f902060ff5c6337cb5e0eafe3255] | committer: Yikai Lu
ProjectWizard: Fix not saving values after a new project is created
> https://code.videolan.org/videolan/vlmc/commit/feb7b44bad59f902060ff5c6337cb5e0eafe3255
---
src/Gui/wizard/ProjectWizard.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Gui/wizard/ProjectWizard.cpp b/src/Gui/wizard/ProjectWizard.cpp
index 4743357..9f7d029 100644
--- a/src/Gui/wizard/ProjectWizard.cpp
+++ b/src/Gui/wizard/ProjectWizard.cpp
@@ -120,6 +120,7 @@ ProjectWizard::accept()
projectPreferences->setValue( "audio/AudioSampleRate", field( "samplerate" ).toString().replace( " Hz", "" ) );
projectPreferences->setValue( "audio/AudioBitRate", field( "abitrate" ).toString().replace( " Kbps", "" ) );
projectPreferences->setValue( "audio/NbChannels", field( "channels" ) );
+ projectPreferences->save();
}
QDialog::accept();
}
More information about the Vlmc-devel
mailing list