diff options
author | John Fultz <jfultz@wolfram.com> | 2019-01-14 02:46:35 -0600 |
---|---|---|
committer | John Fultz <jfultz@wolfram.com> | 2019-01-14 02:47:01 -0600 |
commit | 2c6b3b89da2a728ba6683d9f4455139372beb21b (patch) | |
tree | 17e01fc5b5e736ec42b9b5e406371f03b1da216b /quacker/view.cpp | |
parent | 3938bd82ac4ac35916c83b378776159952f744eb (diff) |
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.
Diffstat (limited to 'quacker/view.cpp')
-rw-r--r-- | quacker/view.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 &))); |