aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/ListWidget.h6
-rw-r--r--gui/launcher.cpp2
-rw-r--r--gui/launcher.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/gui/ListWidget.h b/gui/ListWidget.h
index dfc93cb1d1..23bcc3c1a7 100644
--- a/gui/ListWidget.h
+++ b/gui/ListWidget.h
@@ -80,11 +80,11 @@ public:
virtual Widget *findWidget(int x, int y);
- void setList(const StringList& list);
- const StringList& getList() const { return _list; }
+ void setList(const StringList &list);
+ const StringList &getList() const { return _list; }
int getSelected() const { return _selectedItem; }
void setSelected(int item);
- const String& getSelectedString() const { return _list[_selectedItem]; }
+ const String &getSelectedString() const { return _list[_selectedItem]; }
void setNumberingMode(NumberingMode numberingMode) { _numberingMode = numberingMode; }
bool isEditable() const { return _editable; }
void setEditable(bool editable) { _editable = editable; }
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index 9176dc9426..621a664a89 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -535,7 +535,7 @@ int SaveLoadChooser::runModal(const EnginePlugin *plugin, const String &target)
return ret;
}
-const Common::String& SaveLoadChooser::getResultString() const {
+const Common::String &SaveLoadChooser::getResultString() const {
return _list->getSelectedString();
}
diff --git a/gui/launcher.h b/gui/launcher.h
index ac0d219b82..9e101c0dd8 100644
--- a/gui/launcher.h
+++ b/gui/launcher.h
@@ -114,7 +114,7 @@ public:
void setList(const StringList& list);
int runModal(const EnginePlugin *plugin, const String &target);
- const Common::String& getResultString() const;
+ const Common::String &getResultString() const;
void setSaveMode(bool saveMode);
virtual void reflowLayout();