chore:更新进度条位置

This commit is contained in:
momen 2025-06-15 16:54:21 +08:00
parent 525a90f441
commit 5211bbb951

View File

@ -84,7 +84,7 @@ void AppDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, c
int progress = m_downloads.value(packageName, DownloadInfo{0, false}).progress;
if (isDownloading) {
QRect progressRect(rect.right() - 180, rect.top() + (rect.height() - 20) / 2, 100, 20);
QRect progressRect(rect.right() - 270, rect.top() + (rect.height() - 20) / 2, 150, 20);
QStyleOptionProgressBar progressBarOption;
progressBarOption.rect = progressRect;
progressBarOption.minimum = 0;