mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 12:00:16 -07:00
Signal / slot fixes
This commit is contained in:
parent
2f337f9191
commit
19db0d471f
14 changed files with 71 additions and 70 deletions
|
@ -365,7 +365,7 @@ QVariantMap EventManager::getPropGeneralInfo(QString hash) const {
|
|||
return data;
|
||||
}
|
||||
|
||||
void EventManager::addedTorrent(QTorrentHandle& h)
|
||||
void EventManager::addedTorrent(const QTorrentHandle& h)
|
||||
{
|
||||
modifiedTorrent(h);
|
||||
}
|
||||
|
@ -375,7 +375,7 @@ void EventManager::deletedTorrent(QString hash)
|
|||
event_list.remove(hash);
|
||||
}
|
||||
|
||||
void EventManager::modifiedTorrent(QTorrentHandle h)
|
||||
void EventManager::modifiedTorrent(const QTorrentHandle& h)
|
||||
{
|
||||
QString hash = h.hash();
|
||||
QVariantMap event;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue