diff --git a/application/widgets/customcontrol/partchartshowing.cpp b/application/widgets/customcontrol/partchartshowing.cpp index 55ae3ce..4a3d449 100644 --- a/application/widgets/customcontrol/partchartshowing.cpp +++ b/application/widgets/customcontrol/partchartshowing.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2022 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: GPL-3.0-only @@ -269,7 +269,7 @@ void PartChartShowing::addPaint(QPainter *painter) } m_flag = 0; } - } else if (m_sumValue >= 100) { //绘制最后一个分区当超过整个分区容量的时候以及选中状态 + } else { //绘制最后一个分区当超过整个分区容量的时候以及选中状态 // qDebug() << "Sum value is 100 or more, handling last partition"; // qDebug() << "sumvalue" << sumvalue; double width = ((m_partSize.at(m_partSize.size() - 2) / m_total)) * (paintRect.width() - RADIUS) - RIGHTSPACE;