summaryrefslogtreecommitdiff
path: root/Applications/Calculator/CalculatorWidget.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-23 10:57:42 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-23 11:10:52 +0100
commit3d20da9ee451460b6e233f5efdf5a13e11525f97 (patch)
tree524b72d0874304c68036dbbc0514b632a4a08c59 /Applications/Calculator/CalculatorWidget.h
parent7ec758773cdd85755d91f52614f361e7e750c7e9 (diff)
downloadserenity-3d20da9ee451460b6e233f5efdf5a13e11525f97.zip
Userspace: Use Core::Object::add() when building interfaces
Diffstat (limited to 'Applications/Calculator/CalculatorWidget.h')
-rw-r--r--Applications/Calculator/CalculatorWidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Calculator/CalculatorWidget.h b/Applications/Calculator/CalculatorWidget.h
index 099448632b..711725b542 100644
--- a/Applications/Calculator/CalculatorWidget.h
+++ b/Applications/Calculator/CalculatorWidget.h
@@ -37,7 +37,7 @@ public:
virtual ~CalculatorWidget() override;
private:
- explicit CalculatorWidget(GUI::Widget*);
+ CalculatorWidget();
void add_button(GUI::Button&, Calculator::Operation);
void add_button(GUI::Button&, int);
void add_button(GUI::Button&);