mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Use 'auto' to avoid duplicating the type name
This commit is contained in:
parent
947c7e1d64
commit
d8cbc9266a
25 changed files with 68 additions and 68 deletions
|
@ -345,7 +345,7 @@ void Application::sendNotificationEmail(const BitTorrent::TorrentHandle *torrent
|
|||
|
||||
// Send the notification email
|
||||
const Preferences *pref = Preferences::instance();
|
||||
Net::Smtp *smtp = new Net::Smtp(this);
|
||||
auto *smtp = new Net::Smtp(this);
|
||||
smtp->sendMail(pref->getMailNotificationSender(),
|
||||
pref->getMailNotificationEmail(),
|
||||
tr("[qBittorrent] '%1' has finished downloading").arg(torrent->name()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue