summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widgetgroup.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-11 17:25:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-11 17:25:45 +0300
commita3c5d6cc7d6f821b31342de3a429996f2775d15e (patch)
treee4cf05880a95baaa689ac52da0ce5120408931c0 /src/gui/widgets/widgetgroup.h
parent2791fac578c27f6dafc8d5fcebc7f281424285d6 (diff)
downloadmanaverse-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.h')
-rw-r--r--src/gui/widgets/widgetgroup.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/widgets/widgetgroup.h b/src/gui/widgets/widgetgroup.h
index ef6c26629..1341688c5 100644
--- a/src/gui/widgets/widgetgroup.h
+++ b/src/gui/widgets/widgetgroup.h
@@ -35,12 +35,9 @@ class WidgetGroup notfinal : public Container,
public:
A_DELETE_COPY(WidgetGroup)
- virtual void addButton(const std::string &tag,
- const bool pressed = false);
-
virtual void addButton(const std::string &restrict text,
const std::string &restrict tag,
- const bool pressed = false);
+ const bool pressed);
void action(const ActionEvent &event) override;