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:
@@ -560,7 +560,7 @@ void Smtp::authLogin()
|
||||
void Smtp::logError(const QString &msg)
|
||||
{
|
||||
qDebug() << "Email Notification Error:" << msg;
|
||||
Logger::instance()->addMessage(tr("Email Notification Error: %1").arg(msg), Log::WARNING);
|
||||
LogMsg(tr("Email Notification Error: %1").arg(msg), Log::WARNING);
|
||||
}
|
||||
|
||||
QString Smtp::getCurrentDateTime() const
|
||||
|
||||
Reference in New Issue
Block a user