aboutsummaryrefslogtreecommitdiff
path: root/gui/ListWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/ListWidget.h')
-rw-r--r--gui/ListWidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ListWidget.h b/gui/ListWidget.h
index b74e90d32b..de3518f2ed 100644
--- a/gui/ListWidget.h
+++ b/gui/ListWidget.h
@@ -70,7 +70,7 @@ protected:
int _scrollBarWidth;
public:
- ListWidget(GuiObject *boss, String name);
+ ListWidget(GuiObject *boss, const String &name);
virtual ~ListWidget();
virtual Widget *findWidget(int x, int y);