From 5ed69ab6334e704e181de114d7f93f9bde468f4c Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 16 May 2017 16:09:11 +0300 Subject: [PATCH] SonarQube warnings. --HG-- branch : develop --- src/libs/ifc/ifcdef.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/libs/ifc/ifcdef.cpp b/src/libs/ifc/ifcdef.cpp index 888cde48b..c757c5c86 100644 --- a/src/libs/ifc/ifcdef.cpp +++ b/src/libs/ifc/ifcdef.cpp @@ -188,7 +188,6 @@ Qt::PenStyle LineStyleToPenStyle(const QString &typeLine) return Qt::DashDotLine; case 5: // TypeLineDashDotDotLine return Qt::DashDotDotLine; - case 1: // TypeLineLine default: return Qt::SolidLine; } @@ -212,8 +211,6 @@ QString PenStyleToLineStyle(Qt::PenStyle penStyle) return TypeLineDashDotLine; case Qt::DashDotDotLine: return TypeLineDashDotDotLine; - case Qt::SolidLine: - case Qt::CustomDashLine: default: break; }