From 342fa6879e9fd8a757ebabe0a30370137b8d83a7 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 21 Jan 2008 06:38:00 +0000 Subject: [FIX] const char*[] -> QStringList for easier laoding into KComboBox [DEL] pokemod/pokemod_inc.h no longer needed git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@37 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemod/MapWildList.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pokemod/MapWildList.cpp') diff --git a/pokemod/MapWildList.cpp b/pokemod/MapWildList.cpp index e64a92b4..8c85c72b 100644 --- a/pokemod/MapWildList.cpp +++ b/pokemod/MapWildList.cpp @@ -25,14 +25,13 @@ #include #include #include -#include #include #include "Pokemod.h" #include "Item.h" #include "ItemEffect.h" #include "MapWildList.h" -const char* PokeMod::MapWildList::ControlStr[PokeMod::MapWildList::End] = {"Grass", "Surfing", "Fishing", "Dive", "Headbutt", "Rock Smash"}; +const QStringList PokeMod::MapWildList::ControlStr = QStringList() << "Grass" << "Surfing" << "Fishing" << "Dive" << "Headbutt" << "Rock Smash"; PokeMod::MapWildList::MapWildList(const Pokemod& par, const unsigned _id) : Object(par, _id), -- cgit