[vlmc-devel] [PATCH 4/4] ProjectWizard: Set the default value of comboBoxAudioBitrate at 256 Kbps

Hugo Beauzée-Luyssen hugo at beauzee.fr
Mon Apr 11 10:23:08 CEST 2016


On 04/10/2016 04:35 PM, Yikai Lu wrote:
> ---
>   src/Gui/wizard/VideoPage.cpp | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/src/Gui/wizard/VideoPage.cpp b/src/Gui/wizard/VideoPage.cpp
> index 53c2b05..6ad791b 100644
> --- a/src/Gui/wizard/VideoPage.cpp
> +++ b/src/Gui/wizard/VideoPage.cpp
> @@ -80,6 +80,7 @@ VideoPage::initializePage()
>       ui.spinBoxVideoWidth->setValue( projectWidth );
>       ui.spinBoxVideoHeight->setValue( projectHeight );
>       ui.doubleSpinBoxVideoFPS->setValue( projectFps );
> +    ui.comboBoxAudioBitrate->setCurrentIndex( ui.comboBoxAudioBitrate->findText( "256 Kbps" ) );
>
>       switch ( sampleRate )
>       {
>
Applied, thanks!


More information about the Vlmc-devel mailing list