summaryrefslogtreecommitdiffstats
path: root/pokemod/MapEffect.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-01-21 06:38:00 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-01-21 06:38:00 +0000
commit342fa6879e9fd8a757ebabe0a30370137b8d83a7 (patch)
tree647fb184567a481dc86373116203740c2607f366 /pokemod/MapEffect.cpp
parentb2e515e6badeb033bbdb53b28424d3b8e7289067 (diff)
downloadsigen-342fa6879e9fd8a757ebabe0a30370137b8d83a7.tar.gz
sigen-342fa6879e9fd8a757ebabe0a30370137b8d83a7.tar.xz
sigen-342fa6879e9fd8a757ebabe0a30370137b8d83a7.zip
[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
Diffstat (limited to 'pokemod/MapEffect.cpp')
-rw-r--r--pokemod/MapEffect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemod/MapEffect.cpp b/pokemod/MapEffect.cpp
index fe7c6914..28571fa0 100644
--- a/pokemod/MapEffect.cpp
+++ b/pokemod/MapEffect.cpp
@@ -24,8 +24,8 @@
#include "Dialog.h"
#include "MapEffect.h"
-const char* PokeMod::MapEffect::MapEffectStr[PokeMod::MapEffect::E_End] = {"Item", "PC", "Strength Block", "Button", "Slot Machine", "Card Flip Game"};
-const char* PokeMod::MapEffect::PCTypeStr[PokeMod::MapEffect::PC_End] = {"Item", "Pokémon", "PokéDex", "Hall of Fame", "All"};
+const QStringList PokeMod::MapEffect::MapEffectStr = QStringList() << "Item" << "PC" << "Strength Block" << "Button" << "Slot Machine" << "Card Flip Game";
+const QStringList PokeMod::MapEffect::PCTypeStr = QStringList() << "Item" << "Pokémon" << "PokéDex" << "Hall of Fame" << "All";
PokeMod::MapEffect::MapEffect(const Pokemod& par, const unsigned _id) :
Object(par, _id),