summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widgetgroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/widgetgroup.cpp')
-rw-r--r--src/gui/widgets/widgetgroup.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/widgetgroup.cpp b/src/gui/widgets/widgetgroup.cpp
index d54e3074a..d8bfd4d32 100644
--- a/src/gui/widgets/widgetgroup.cpp
+++ b/src/gui/widgets/widgetgroup.cpp
@@ -50,7 +50,7 @@ void WidgetGroup::addButton(const std::string &restrict text,
{
widget->setActionEventId(mActionEventId + tag);
widget->addActionListener(this);
- add(widget, mSpacing);
+ addWidget(widget, mSpacing);
}
}
@@ -63,7 +63,8 @@ void WidgetGroup::action(const ActionEvent &event)
}
}
-void WidgetGroup::add(Widget *const widget, const int spacing)
+void WidgetGroup::addWidget(Widget *const widget,
+ const int spacing)
{
if (!widget)
return;