diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 20:04:00 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 20:04:00 +0200 |
commit | defafd72bc771034d615d56fe3fc5f71a7f707e5 (patch) | |
tree | 5cf61389b7315605c61aa345e31464deab35542d /Games/Minesweeper/Field.h | |
parent | 15a66dc8ab850de870f906ce64176ad5a58acf7e (diff) | |
download | serenity-defafd72bc771034d615d56fe3fc5f71a7f707e5.zip |
LibGUI: Convert custom widgets and subclasses to ObjectPtr
Diffstat (limited to 'Games/Minesweeper/Field.h')
-rw-r--r-- | Games/Minesweeper/Field.h | 2 |
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; |