Don't use deprecated SIGNAL & SLOT macros
This commit is contained in:
parent
ad690429a4
commit
84a8aa57d6
|
@ -2,8 +2,8 @@
|
|||
#include <QDebug>
|
||||
#include <random>
|
||||
|
||||
GameState::GameState(QObject* parent) : QObject{parent} {
|
||||
assert(connect(this, SIGNAL(foundationChanged()), this, SLOT(onFoundationChanged())));
|
||||
GameState::GameState(QObject* parent, bool preDealCards) : QObject{parent} {
|
||||
assert(connect(this, &GameState::foundationChanged, this, &GameState::onFoundationChanged));
|
||||
|
||||
m_foundation.resize(4);
|
||||
m_columns.resize(7);
|
||||
|
|
Loading…
Reference in a new issue