Commit d6686bb0 authored by Leslie Zhai's avatar Leslie Zhai

Fix switch stmt missing break issue.

A patch by dcb314@hotmail.com!

BUG: 385676
parent d9c451f9
...@@ -57,17 +57,21 @@ K3b::VcdBurnDialog::VcdBurnDialog( K3b::VcdDoc* _doc, QWidget *parent ) ...@@ -57,17 +57,21 @@ K3b::VcdBurnDialog::VcdBurnDialog( K3b::VcdDoc* _doc, QWidget *parent )
prepareGui(); prepareGui();
QString vcdType; QString vcdType;
switch ( m_vcdDoc->vcdType() ) { switch (m_vcdDoc->vcdType()) {
case K3b::VcdDoc::VCD11: case K3b::VcdDoc::VCD11:
vcdType = i18n( "Video CD (Version 1.1)" ); vcdType = i18n("Video CD (Version 1.1)");
break;
case K3b::VcdDoc::VCD20: case K3b::VcdDoc::VCD20:
vcdType = i18n( "Video CD (Version 2.0)" ); vcdType = i18n("Video CD (Version 2.0)");
break;
case K3b::VcdDoc::SVCD10: case K3b::VcdDoc::SVCD10:
vcdType = i18n( "Super Video CD" ); vcdType = i18n("Super Video CD");
break;
case K3b::VcdDoc::HQVCD: case K3b::VcdDoc::HQVCD:
vcdType = i18n( "High-Quality Video CD" ); vcdType = i18n("High-Quality Video CD");
break;
default: default:
vcdType = i18n( "Video CD" ); vcdType = i18n("Video CD");
} }
setTitle( vcdType, i18np( "1 MPEG (%2)", "%1 MPEGs (%2)", setTitle( vcdType, i18np( "1 MPEG (%2)", "%1 MPEGs (%2)",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment