check that new comment differs from existing comment before applying

This commit is contained in:
HamletDuFromage 2025-07-25 21:55:55 +02:00
commit 0c8dc7a79f

View file

@ -2965,7 +2965,10 @@ QFuture<std::invoke_result_t<Func>> TorrentImpl::invokeAsync(Func &&func) const
} }
void TorrentImpl::setComment(const QString &comment) void TorrentImpl::setComment(const QString &comment)
{
if (m_comment != comment)
{ {
m_comment = comment; m_comment = comment;
deferredRequestResumeData(); deferredRequestResumeData();
} }
}