diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-17 20:53:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-17 20:53:41 +0300 |
commit | 23d938f903653d9e1a255df928116e540eb6cc55 (patch) | |
tree | 8039c003b47aba26b043ad6ef5d4f6f0c5fac0bb /src/gui/widgets/widgetgroup.cpp | |
parent | 850b3b515d7b35cfec8708190f2f6631cd4faae4 (diff) | |
download | manaverse-23d938f903653d9e1a255df928116e540eb6cc55.tar.gz manaverse-23d938f903653d9e1a255df928116e540eb6cc55.tar.bz2 manaverse-23d938f903653d9e1a255df928116e540eb6cc55.tar.xz manaverse-23d938f903653d9e1a255df928116e540eb6cc55.zip |
add restrict into widgetgroup.
Diffstat (limited to 'src/gui/widgets/widgetgroup.cpp')
-rw-r--r-- | src/gui/widgets/widgetgroup.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/widgetgroup.cpp b/src/gui/widgets/widgetgroup.cpp index b3f204120..a85250701 100644 --- a/src/gui/widgets/widgetgroup.cpp +++ b/src/gui/widgets/widgetgroup.cpp @@ -42,7 +42,8 @@ void WidgetGroup::addButton(const std::string &tag) addButton(tag, tag); } -void WidgetGroup::addButton(const std::string &text, const std::string &tag) +void WidgetGroup::addButton(const std::string &restrict text, + const std::string &restrict tag) { if (text.empty() || tag.empty()) return; |