From 3351572f2f5522522b63dd97e3013f8e0fea3f0a Mon Sep 17 00:00:00 2001 From: Nav Date: Sat, 20 Nov 2021 19:09:25 +0000 Subject: [PATCH] Tidying --- .../TargetWidgets/QFP/QuadFlatPackageWidget.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetWidgets/QFP/QuadFlatPackageWidget.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetWidgets/QFP/QuadFlatPackageWidget.cpp index 9468ac48..b03b8a66 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetWidgets/QFP/QuadFlatPackageWidget.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetWidgets/QFP/QuadFlatPackageWidget.cpp @@ -23,7 +23,7 @@ QuadFlatPackageWidget::QuadFlatPackageWidget( auto stylesheetFile = QFile(QString::fromStdString( Paths::compiledResourcesPath() - + "/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetWidgets//QFP/Stylesheets/QuadFlatPackage.qss" + + "/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetWidgets/QFP/Stylesheets/QuadFlatPackage.qss" ) ); stylesheetFile.open(QFile::ReadOnly); @@ -297,10 +297,10 @@ void QuadFlatPackageWidget::drawWidget(QPainter& painter) { painter.setPen(lineColor); const auto pinNameLabelLineLength = (pinWidget->getPinNumber() % 2 == 0 ? PinWidget::PIN_LABEL_LONG_LINE_LENGTH - : 5 + : PinWidget::PIN_LABEL_SHORT_LINE_LENGTH ); const auto pinDirectionLabelLineLength = (pinWidget->getPinNumber() % 2 == 0 ? - 5 + PinWidget::PIN_LABEL_SHORT_LINE_LENGTH : PinWidget::PIN_LABEL_LONG_LINE_LENGTH ); @@ -355,10 +355,10 @@ void QuadFlatPackageWidget::drawWidget(QPainter& painter) { painter.setPen(lineColor); const auto pinNameLabelLineLength = (pinWidget->getPinNumber() % 2 == 0 ? PinWidget::PIN_LABEL_LONG_LINE_LENGTH - : 5 + : PinWidget::PIN_LABEL_SHORT_LINE_LENGTH ); const auto pinDirectionLabelLineLength = (pinWidget->getPinNumber() % 2 == 0 ? - 5 + PinWidget::PIN_LABEL_SHORT_LINE_LENGTH : PinWidget::PIN_LABEL_LONG_LINE_LENGTH );