From 3bf4e26b1319295532bb4396cbd6406d85cbcae0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 29 Mar 2012 03:51:37 +0300 Subject: Replace vectors with strings to short names. --- src/gui/setup_video.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/gui/setup_video.cpp') diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index 24d42c83d..a416b2027 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -54,8 +54,6 @@ #include #include -#include -#include #include "debug.h" @@ -102,7 +100,7 @@ class ModeListModel : public gcn::ListModel private: void addCustomMode(std::string mode); - std::vector mVideoModes; + StringVect mVideoModes; }; bool modeSorter(std::string mode1, std::string mode2); @@ -166,8 +164,8 @@ ModeListModel::ModeListModel() void ModeListModel::addCustomMode(std::string mode) { - std::vector::const_iterator it = mVideoModes.begin(); - std::vector::const_iterator it_end = mVideoModes.end(); + StringVectCIter it = mVideoModes.begin(); + StringVectCIter it_end = mVideoModes.end(); while (it != it_end) { if (*it == mode) -- cgit v1.2.3-70-g09d2