mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
Use helper function for logging messages
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user