The only downloader you need. 下载器的集大成者。
TypeScript asyncasynciobittorentbtcross-platformdownload-managerdownloaderfluent-designftphttp3magnetpyqtpyside6pythonqtquicreactsoftwarestreaming
fix(http): 部分 Linux 环境下创建任务卡片时闪退
XiaoYouChR18c543e9c59f
diff --git a/app/view/components/progress_toast.py b/app/view/components/progress_toast.pyindex f8403cd9..da1a1190 100644--- a/app/view/components/progress_toast.py+++ b/app/view/components/progress_toast.py@@ -58,7 +58,8 @@ class ProgressToast(InfoBar):self._displayProgress = 0.0self._barColor = barColor(UpdateState.DOWNLOADING)self._isDismissed = False- self._fillTimer = QTimer(self, interval=16)+ self._fillTimer = QTimer(self)+ self._fillTimer.setInterval(16)self._fillTimer.timeout.connect(self._onFillTick)self._retryButton = TransparentToolButton(FluentIcon.SYNC, self)self._retryButton.setFixedSize(36, 36)diff --git a/features/http_pack/cards.py b/features/http_pack/cards.pyindex 7559a91b..a9c4a5c4 100644--- a/features/http_pack/cards.py+++ b/features/http_pack/cards.py@@ -17,7 +17,8 @@ class SegmentedProgressBar(QWidget):self._isError = Falseself._fillProgress: dict[int, float] = {}self._spans: list[tuple[float, float]] = []- self._fillTimer = QTimer(self, interval=16)+ self._fillTimer = QTimer(self)+ self._fillTimer.setInterval(16)self._fillTimer.timeout.connect(self._onFillTimeout)def setValue(self, value: float):