summaryrefslogtreecommitdiff
path: root/quacker/graphicalboard.h
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2019-01-14 02:46:35 -0600
committerJohn Fultz <jfultz@wolfram.com>2019-01-14 02:47:01 -0600
commit2c6b3b89da2a728ba6683d9f4455139372beb21b (patch)
tree17e01fc5b5e736ec42b9b5e406371f03b1da216b /quacker/graphicalboard.h
parent3938bd82ac4ac35916c83b378776159952f744eb (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/graphicalboard.h')
-rw-r--r--quacker/graphicalboard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quacker/graphicalboard.h b/quacker/graphicalboard.h
index 98971d0..500628c 100644
--- a/quacker/graphicalboard.h
+++ b/quacker/graphicalboard.h
@@ -143,7 +143,7 @@ protected slots:
void commitHandler();
void appendHandler(const QString &text, bool shiftPressed);
- void setGlobalCandidate();
+ void setGlobalCandidate(bool *carryOn); // returns false if the user canceled a badly formed move
void setAndCommitGlobalCandidate();
virtual void tileClicked(const QSize &tileLocation, const QMouseEvent * /* event */);