diff options
Diffstat (limited to 'src/gui/widgets/radiogroup.cpp')
-rw-r--r-- | src/gui/widgets/radiogroup.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/widgets/radiogroup.cpp b/src/gui/widgets/radiogroup.cpp index 24813f6e2..e07b3782c 100644 --- a/src/gui/widgets/radiogroup.cpp +++ b/src/gui/widgets/radiogroup.cpp @@ -26,14 +26,15 @@ #include "debug.h" -RadioGroup::RadioGroup(std::string group, int height, int spacing) : +RadioGroup::RadioGroup(const std::string &group, const int height, + const int spacing) : WidgetGroup(group, height, spacing) { } -gcn::Widget *RadioGroup::createWidget(std::string text) +gcn::Widget *RadioGroup::createWidget(const std::string &text) { - RadioButton *widget = new RadioButton(text, mGroup, mCount == 0); + RadioButton *const widget = new RadioButton(text, mGroup, mCount == 0); widget->adjustSize(); return widget; } |