diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2008-03-31 01:17:59 +0000 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2008-03-31 01:17:59 +0000 |
commit | 9a65bc6bb7c8da1dfa5b101579e52845c75848ef (patch) | |
tree | 258900f882a6998ac6fa525bd247e302028a8911 /pokemodr/MapWildListUI.cpp | |
parent | 8e1ec2aec50999bae30625303f2c96e5b3b7f318 (diff) | |
download | sigen-9a65bc6bb7c8da1dfa5b101579e52845c75848ef.tar.gz sigen-9a65bc6bb7c8da1dfa5b101579e52845c75848ef.tar.xz sigen-9a65bc6bb7c8da1dfa5b101579e52845c75848ef.zip |
[FIX] Member variables now use m_ prefix
[FIX] Lots of minor fixes
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@95 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/MapWildListUI.cpp')
-rw-r--r-- | pokemodr/MapWildListUI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemodr/MapWildListUI.cpp b/pokemodr/MapWildListUI.cpp index 86a66e4b..df0d2ee6 100644 --- a/pokemodr/MapWildListUI.cpp +++ b/pokemodr/MapWildListUI.cpp @@ -93,7 +93,7 @@ void MapWildListUI::setGui() QListWidgetItem* lwi = varTimes->item(i); lwi->setSelected(mapWildList_mod->getTime(lwi->data(Qt::UserRole).toInt())); } - boxScope->setChecked(mapWildList_mod->getScope() == -1); + boxScope->setChecked(mapWildList_mod->getScope() == INT_MAX); varScope->setCurrentIndex(varScope->findData(mapWildList_mod->getScope())); } @@ -159,7 +159,7 @@ void MapWildListUI::on_varTimes_itemSelectionChanged() void MapWildListUI::on_boxScope_toggled(const bool s) { if (!s) - mapWildList_mod->setScope(-1); + mapWildList_mod->setScope(INT_MAX); emit(changed(true)); setGui(); } |