mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
Use helper function for logging messages
This commit is contained in:
parent
ec13bba4da
commit
dba711d099
8 changed files with 26 additions and 29 deletions
|
@ -471,7 +471,7 @@ void Application::torrentFinished(BitTorrent::Torrent *const torrent)
|
|||
// Mail notification
|
||||
if (pref->isMailNotificationEnabled())
|
||||
{
|
||||
Logger::instance()->addMessage(tr("Torrent: %1, sending mail notification").arg(torrent->name()));
|
||||
LogMsg(tr("Torrent: %1, sending mail notification").arg(torrent->name()));
|
||||
sendNotificationEmail(torrent);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue