From 2c6b3b89da2a728ba6683d9f4455139372beb21b Mon Sep 17 00:00:00 2001 From: John Fultz Date: Mon, 14 Jan 2019 02:46:35 -0600 Subject: Fix #21, committing a phoney cannot be canceled. When going back to edit history, typing a phoney correctly brought up a dialog, but indicating you wanted to cancel the phoney play didn't stop the play from going down, or a subsequent computer player from making its play. --- quacker/view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quacker/view.cpp') diff --git a/quacker/view.cpp b/quacker/view.cpp index 13cf514..5057002 100644 --- a/quacker/view.cpp +++ b/quacker/view.cpp @@ -59,7 +59,7 @@ void View::connectSubviewSignals() for (auto& it : m_subviews) { connect(it, SIGNAL(statusMessage(const QString &)), this, SIGNAL(statusMessage(const QString &))); - connect(it, SIGNAL(setCandidateMove(const Quackle::Move &)), this, SIGNAL(setCandidateMove(const Quackle::Move &))); + connect(it, SIGNAL(setCandidateMove(const Quackle::Move &, bool *)), this, SIGNAL(setCandidateMove(const Quackle::Move &, bool *))); connect(it, SIGNAL(removeCandidateMoves(const Quackle::MoveList &)), this, SIGNAL(removeCandidateMoves(const Quackle::MoveList &))); connect(it, SIGNAL(commit()), this, SIGNAL(commit())); connect(it, SIGNAL(setRack(const Quackle::Rack &)), this, SIGNAL(setRack(const Quackle::Rack &))); -- cgit v1.2.3