summaryrefslogtreecommitdiff
path: root/Games/Minesweeper/Field.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-21 20:04:00 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-21 20:04:00 +0200
commitdefafd72bc771034d615d56fe3fc5f71a7f707e5 (patch)
tree5cf61389b7315605c61aa345e31464deab35542d /Games/Minesweeper/Field.h
parent15a66dc8ab850de870f906ce64176ad5a58acf7e (diff)
downloadserenity-defafd72bc771034d615d56fe3fc5f71a7f707e5.zip
LibGUI: Convert custom widgets and subclasses to ObjectPtr
Diffstat (limited to 'Games/Minesweeper/Field.h')
-rw-r--r--Games/Minesweeper/Field.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Games/Minesweeper/Field.h b/Games/Minesweeper/Field.h
index e976d26189..fff4cb0161 100644
--- a/Games/Minesweeper/Field.h
+++ b/Games/Minesweeper/Field.h
@@ -32,9 +32,9 @@ public:
};
class Field final : public GFrame {
+ C_OBJECT(Field)
friend class Square;
friend class SquareLabel;
-
public:
Field(GLabel& flag_label, GLabel& time_label, GButton& face_button, GWidget* parent, Function<void(Size)> on_size_changed);
virtual ~Field() override;