Refactor files in src/utility and src/deck to new Qt Slot/Signal syntax (#5432)

* refactor in src/utility

* refactor in src/deck

* fix build failure
This commit is contained in:
RickyRister 2025-01-09 03:33:20 -08:00 committed by GitHub
parent c3421669d5
commit 1f11015a2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 10 deletions

View file

@ -14,7 +14,7 @@ DeckStatsInterface::DeckStatsInterface(CardDatabase &_cardDatabase, QObject *par
: QObject(parent), cardDatabase(_cardDatabase)
{
manager = new QNetworkAccessManager(this);
connect(manager, SIGNAL(finished(QNetworkReply *)), this, SLOT(queryFinished(QNetworkReply *)));
connect(manager, &QNetworkAccessManager::finished, this, &DeckStatsInterface::queryFinished);
}
void DeckStatsInterface::queryFinished(QNetworkReply *reply)