diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-02-27 17:49:53 -0600 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-02-27 17:49:53 -0600 |
| commit | d88d47f427529542e6b09fc195ab7f15898c6305 (patch) | |
| tree | 449b4eee888a804a5b6338f481320bca27ca4349 /src | |
| parent | a4877bbf71e39ada18fc602401765e9a4a5d405e (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.cpp | 2 |
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
|
