summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/ModelEditingDelegate.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-23 12:07:13 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-23 12:27:53 +0100
commitc5d913970ab122cdeaf23aea24e65efa6b425ab0 (patch)
tree07ef4cb2d039521ec7b1931c707b5196b7ea1628 /Libraries/LibGUI/ModelEditingDelegate.h
parent4ce28c32d1813b043758c0d15d5efc17452c2b77 (diff)
downloadserenity-c5d913970ab122cdeaf23aea24e65efa6b425ab0.zip
LibGUI: Remove parent parameter to GUI::Widget constructor
Diffstat (limited to 'Libraries/LibGUI/ModelEditingDelegate.h')
-rw-r--r--Libraries/LibGUI/ModelEditingDelegate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/ModelEditingDelegate.h b/Libraries/LibGUI/ModelEditingDelegate.h
index 5b8efeed20..0815075f6f 100644
--- a/Libraries/LibGUI/ModelEditingDelegate.h
+++ b/Libraries/LibGUI/ModelEditingDelegate.h
@@ -77,7 +77,7 @@ public:
virtual RefPtr<Widget> create_widget() override
{
- auto textbox = TextBox::construct(nullptr);
+ auto textbox = TextBox::construct();
textbox->on_return_pressed = [this] {
commit();
};