summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI
diff options
context:
space:
mode:
authorkleines Filmröllchen <filmroellchen@serenityos.org>2022-07-23 13:49:41 +0200
committerAndreas Kling <kling@serenityos.org>2022-07-25 15:25:13 +0200
commit281b319588b5af00445fdb9f5b57c51ff8eef05e (patch)
tree2c3068385a3954dff92940a005f0343a3400b214 /Userland/Libraries/LibGUI
parentfac4529082eb118e801c8957b326b22bf57afe9c (diff)
downloadserenity-281b319588b5af00445fdb9f5b57c51ff8eef05e.zip
LibGUI: Make Checkbox constructor protected
Diffstat (limited to 'Userland/Libraries/LibGUI')
-rw-r--r--Userland/Libraries/LibGUI/CheckBox.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/CheckBox.h b/Userland/Libraries/LibGUI/CheckBox.h
index f5899f0ff3..f39f938057 100644
--- a/Userland/Libraries/LibGUI/CheckBox.h
+++ b/Userland/Libraries/LibGUI/CheckBox.h
@@ -29,9 +29,10 @@ public:
CheckBoxPosition checkbox_position() const { return m_checkbox_position; }
void set_checkbox_position(CheckBoxPosition value) { m_checkbox_position = value; }
-private:
+protected:
explicit CheckBox(String = {});
+private:
void size_to_fit();
// These don't make sense for a check box, so hide them.