Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions application/widgets/customcontrol/partchartshowing.cpp
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -237,7 +237,7 @@ void PartChartShowing::addPaint(QPainter *painter)
}
m_flag = 0;
}
} else if (m_sumValue >= 100) { //绘制最后一个分区当超过整个分区容量的时候以及选中状态
} else { //绘制最后一个分区当超过整个分区容量的时候以及选中状态
// qDebug() << "sumvalue" << sumvalue;
double width = ((m_partSize.at(m_partSize.size() - 2) / m_total)) * (paintRect.width() - RADIUS) - RIGHTSPACE;
if (m_partSize.at(m_partSize.size() - 2) / m_total < 0.01) {
Expand Down
Loading