Don't use deprecated SIGNAL & SLOT macros

This commit is contained in:
ItsDrike 2024-12-06 03:39:20 +01:00
parent ad690429a4
commit 84a8aa57d6
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -2,8 +2,8 @@
#include <QDebug> #include <QDebug>
#include <random> #include <random>
GameState::GameState(QObject* parent) : QObject{parent} { GameState::GameState(QObject* parent, bool preDealCards) : QObject{parent} {
assert(connect(this, SIGNAL(foundationChanged()), this, SLOT(onFoundationChanged()))); assert(connect(this, &GameState::foundationChanged, this, &GameState::onFoundationChanged));
m_foundation.resize(4); m_foundation.resize(4);
m_columns.resize(7); m_columns.resize(7);