From a3c5d6cc7d6f821b31342de3a429996f2775d15e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 11 Jan 2015 17:25:45 +0300 Subject: Simplify AddButton method in WidgetGroup class. --- src/gui/widgets/widgetgroup.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/gui/widgets/widgetgroup.cpp') diff --git a/src/gui/widgets/widgetgroup.cpp b/src/gui/widgets/widgetgroup.cpp index 3cddc625a..d54e3074a 100644 --- a/src/gui/widgets/widgetgroup.cpp +++ b/src/gui/widgets/widgetgroup.cpp @@ -38,12 +38,6 @@ WidgetGroup::WidgetGroup(const Widget2 *const widget, addWidgetListener(this); } -void WidgetGroup::addButton(const std::string &tag, - const bool pressed) -{ - addButton(tag, tag, pressed); -} - void WidgetGroup::addButton(const std::string &restrict text, const std::string &restrict tag, const bool pressed) -- cgit v1.2.3-70-g09d2