diff options
author | daniel-Jones <daniel@danieljon.es> | 2018-09-02 11:47:15 +0930 |
---|---|---|
committer | daniel-Jones <daniel@danieljon.es> | 2018-09-02 11:47:15 +0930 |
commit | 12f885b28b9740349dcee6a7c57d7b774017fd05 (patch) | |
tree | a1f19acd069ba42dd757c006783157013a53aed5 /qtminesweeper.cpp | |
parent | 34eab2a4cd9a20f7deae3b7225a11678c240ede9 (diff) | |
download | qtminesweeper-12f885b28b9740349dcee6a7c57d7b774017fd05.tar.gz qtminesweeper-12f885b28b9740349dcee6a7c57d7b774017fd05.zip |
initial cell flag system setup
Diffstat (limited to 'qtminesweeper.cpp')
-rw-r--r-- | qtminesweeper.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qtminesweeper.cpp b/qtminesweeper.cpp index 6fd583a..6fc5f2e 100644 --- a/qtminesweeper.cpp +++ b/qtminesweeper.cpp @@ -20,7 +20,8 @@ qtminesweeper::qtminesweeper() { - + cell cell1(cell::MINE | cell::REVEALED); + cell1.flagcheck(); } void qtminesweeper::paintEvent(QPaintEvent *event) |