From d88d47f427529542e6b09fc195ab7f15898c6305 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Fri, 27 Feb 2026 17:49:53 -0600 Subject: Fix DownloadManager::stateChanged signal connection The old-style SIGNAL() macro had the wrong signature: stateChanged(int,int) instead of stateChanged(int,DownloadManager::DownloadState). This caused Qt to silently fail the connection, meaning the download list view never updated when download state changed. Co-Authored-By: Claude Opus 4.6 --- src/src/downloadlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/src/downloadlist.cpp b/src/src/downloadlist.cpp index 457fab2..5f4a89d 100644 --- a/src/src/downloadlist.cpp +++ b/src/src/downloadlist.cpp @@ -37,7 +37,7 @@ DownloadList::DownloadList(OrganizerCore& core, QObject* parent) { connect(&m_manager, SIGNAL(update(int)), this, SLOT(update(int))); connect(&m_manager, SIGNAL(aboutToUpdate()), this, SLOT(aboutToUpdate())); - connect(&m_manager, SIGNAL(stateChanged(int,int)), this, SLOT(rowChanged(int))); + connect(&m_manager, SIGNAL(stateChanged(int,DownloadManager::DownloadState)), this, SLOT(rowChanged(int))); } int DownloadList::rowCount(const QModelIndex& parent) const -- cgit v1.3.1