SonarQube warnings.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-05-16 16:09:11 +03:00
parent d38681b853
commit 5ed69ab633

View File

@ -188,7 +188,6 @@ Qt::PenStyle LineStyleToPenStyle(const QString &typeLine)
return Qt::DashDotLine; return Qt::DashDotLine;
case 5: // TypeLineDashDotDotLine case 5: // TypeLineDashDotDotLine
return Qt::DashDotDotLine; return Qt::DashDotDotLine;
case 1: // TypeLineLine
default: default:
return Qt::SolidLine; return Qt::SolidLine;
} }
@ -212,8 +211,6 @@ QString PenStyleToLineStyle(Qt::PenStyle penStyle)
return TypeLineDashDotLine; return TypeLineDashDotLine;
case Qt::DashDotDotLine: case Qt::DashDotDotLine:
return TypeLineDashDotDotLine; return TypeLineDashDotDotLine;
case Qt::SolidLine:
case Qt::CustomDashLine:
default: default:
break; break;
} }