diff --git a/src/gamestate.cpp b/src/gamestate.cpp index 58be4c5..8a30c1f 100644 --- a/src/gamestate.cpp +++ b/src/gamestate.cpp @@ -2,8 +2,8 @@ #include #include -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);