diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-11 17:25:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-11 17:25:45 +0300 |
commit | a3c5d6cc7d6f821b31342de3a429996f2775d15e (patch) | |
tree | e4cf05880a95baaa689ac52da0ce5120408931c0 /src/gui/widgets/widgetgroup.cpp | |
parent | 2791fac578c27f6dafc8d5fcebc7f281424285d6 (diff) | |
download | ManaVerse-a3c5d6cc7d6f821b31342de3a429996f2775d15e.tar.gz ManaVerse-a3c5d6cc7d6f821b31342de3a429996f2775d15e.tar.bz2 ManaVerse-a3c5d6cc7d6f821b31342de3a429996f2775d15e.tar.xz ManaVerse-a3c5d6cc7d6f821b31342de3a429996f2775d15e.zip |
Simplify AddButton method in WidgetGroup class.
Diffstat (limited to 'src/gui/widgets/widgetgroup.cpp')
-rw-r--r-- | src/gui/widgets/widgetgroup.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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) |