aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-27 17:49:53 -0600
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-27 17:49:53 -0600
commitd88d47f427529542e6b09fc195ab7f15898c6305 (patch)
tree449b4eee888a804a5b6338f481320bca27ca4349 /src
parenta4877bbf71e39ada18fc602401765e9a4a5d405e (diff)
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 <noreply@anthropic.com>
Diffstat (limited to 'src')
-rw-r--r--src/src/downloadlist.cpp2
1 files changed, 1 insertions, 1 deletions
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