aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorJohannes Schickel2008-11-07 13:20:25 +0000
committerJohannes Schickel2008-11-07 13:20:25 +0000
commit1512fbd261e229c4d95f70cc5061f105a1ac7a0f (patch)
treeb4ed9b070a7406d268f09d58bbd6c53f1af8d52e /gui
parent203db8686993aa1396dc771b49709f3914ccdec6 (diff)
downloadscummvm-rg350-1512fbd261e229c4d95f70cc5061f105a1ac7a0f.tar.gz
scummvm-rg350-1512fbd261e229c4d95f70cc5061f105a1ac7a0f.tar.bz2
scummvm-rg350-1512fbd261e229c4d95f70cc5061f105a1ac7a0f.zip
Formatting.
svn-id: r34927
Diffstat (limited to 'gui')
-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();