summaryrefslogtreecommitdiffstats
path: root/pokemodr/NatureUI.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-02-01 15:19:37 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-02-01 15:19:37 +0000
commit9cf41b6e6faf6a325baebf65c037a9ac5e12890e (patch)
treebe795760434f7f574135483a4f62ceb33b073c5d /pokemodr/NatureUI.cpp
parent29d664520f09818f4762169c4a13f4cacb4e55aa (diff)
downloadsigen-9cf41b6e6faf6a325baebf65c037a9ac5e12890e.tar.gz
sigen-9cf41b6e6faf6a325baebf65c037a9ac5e12890e.tar.xz
sigen-9cf41b6e6faf6a325baebf65c037a9ac5e12890e.zip
[FIX] CoinList UI now uses a KComboBox instead of a KIntNumInput for value
[FIX] Badge UI now uses KPushButtons instead of a QGraphicsView [FIX] BadgeUI now works [FIX] PokeModr now sends a new error when an Exception got all the way through [DEL] GenericListItem replaced as QListWidgetItem works on its own [ADD] pokemodr now needs to like to kio [ADD] getFace/getBadge methods to Badge [ADD] 2 HMs (Heal and Escape) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@53 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/NatureUI.cpp')
-rw-r--r--pokemodr/NatureUI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemodr/NatureUI.cpp b/pokemodr/NatureUI.cpp
index 3e25afd1..870cea21 100644
--- a/pokemodr/NatureUI.cpp
+++ b/pokemodr/NatureUI.cpp
@@ -46,7 +46,7 @@ NatureUI::NatureUI(Nature* n, QWidget* parent) :
void NatureUI::setGui()
{
- const bool isSplit = nature_mod->getPokemod().getRules().getSpecialSplit();
+ const bool isSplit = nature->getPokemod().getRules().getSpecialSplit();
const QStringList& statList = isSplit ? StatRBYStr : StatGSCStr;
varName->setText(nature_mod->getName());
varStat->clear();
@@ -81,7 +81,7 @@ void NatureUI::on_varStat_currentIndexChanged(const QString& s)
{
try
{
- const QStringList& statList = nature_mod->getPokemod().getRules().getSpecialSplit() ? StatRBYStr : StatGSCStr;
+ const QStringList& statList = nature->getPokemod().getRules().getSpecialSplit() ? StatRBYStr : StatGSCStr;
if (statList.contains(s))
curStat = statList.indexOf(s);
else