[vlmc-devel] [PATCH 3/3] ProjectWizard: Get the correct field of "NbChannnels"
Yikai Lu
luyikei.qmltu at gmail.com
Sun Apr 10 16:25:29 CEST 2016
---
src/Gui/wizard/ProjectWizard.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Gui/wizard/ProjectWizard.cpp b/src/Gui/wizard/ProjectWizard.cpp
index f1ba18a..b31adbd 100644
--- a/src/Gui/wizard/ProjectWizard.cpp
+++ b/src/Gui/wizard/ProjectWizard.cpp
@@ -115,7 +115,7 @@ ProjectWizard::accept()
projectPreferences->setValue( "video/VideoBitRate", field( "vbitrate" ) );
projectPreferences->setValue( "audio/AudioSampleRate", field( "samplerate" ).toString().replace( " Hz", "" ) );
projectPreferences->setValue( "audio/AudioBitRate", field( "abitrate" ).toString().replace( " Kbps", "" ) );
- projectPreferences->setValue( "audio/NbChannels", field( "samplerate" ) );
+ projectPreferences->setValue( "audio/NbChannels", field( "channels" ) );
}
QDialog::accept();
}
--
1.9.1
More information about the Vlmc-devel
mailing list