Common: Convert last signals to new slot syntax

This commit is contained in:
Felix Kauselmann
2021-06-22 12:39:13 +02:00
parent d7a9e66377
commit 76ab23b776
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@
HttpVersionChecker::HttpVersionChecker()
: HttpWorker("https://raw.githubusercontent.com/YACReader/yacreader/master/common/yacreader_global.h")
{
connect(this, SIGNAL(dataReady(const QByteArray &)), this, SLOT(checkNewVersion(const QByteArray &)));
connect(this, &HttpVersionChecker::dataReady, this, QOverload<const QByteArray &>::of(&HttpVersionChecker::checkNewVersion));
}
void HttpVersionChecker::checkNewVersion(const QByteArray &data)