From c934642bdb7e6747a20054d7cc7b079e69bc22c2 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 18 Mar 2010 15:09:24 +0000 Subject: COMMON: Move typedef StringList from str.h to new header str-array.h This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282 --- gui/saveload.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/saveload.cpp') diff --git a/gui/saveload.cpp b/gui/saveload.cpp index 247b7bdeb8..8ec4dc4133 100644 --- a/gui/saveload.cpp +++ b/gui/saveload.cpp @@ -313,7 +313,7 @@ void SaveLoadChooser::close() { _plugin = 0; _target.clear(); _saveList.clear(); - _list->setList(StringList()); + _list->setList(StringArray()); Dialog::close(); } @@ -323,7 +323,7 @@ void SaveLoadChooser::updateSaveList() { int curSlot = 0; int saveSlot = 0; - StringList saveNames; + StringArray saveNames; ListWidget::ColorList colors; for (SaveStateList::const_iterator x = _saveList.begin(); x != _saveList.end(); ++x) { // Handle gaps in the list of save games -- cgit v1.2.3