Don't use deprecated SIGNAL & SLOT macros
This commit is contained in:
parent
ad690429a4
commit
84a8aa57d6
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue