summaryrefslogtreecommitdiffstats
path: root/pokemodr/RulesUI.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-01-23 04:50:24 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-01-23 04:50:24 +0000
commitef250617e8163c535931be045aa4e9d59163ace7 (patch)
tree5b76323ec66a63c3fca589b088b310c3fdaba2b7 /pokemodr/RulesUI.cpp
parentefa80ce427e40070e36e5ab86d2f6dbf4ad50648 (diff)
[FIX] Grammer in Changelog
[FIX] Made pokemod classes contain their names for later ease [ADD] PokéModr main window form [FIX] Ini and Exception includes fixed [FIX] BugCatcher bugs fixed [FIX] .pro files fixed [ADD] PokéModr main GUI almost complete git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@40 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/RulesUI.cpp')
-rw-r--r--pokemodr/RulesUI.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/pokemodr/RulesUI.cpp b/pokemodr/RulesUI.cpp
index 9742fbe4..d5cf7e4c 100644
--- a/pokemodr/RulesUI.cpp
+++ b/pokemodr/RulesUI.cpp
@@ -24,8 +24,6 @@
#include "../general/BugCatcher.h"
#include "RulesUI.h"
-extern BugCatcher bugs;
-
RulesUI::RulesUI(Rules& r, QWidget* parent) :
QWidget(parent),
rules(r.getPokemod(), r),
@@ -92,7 +90,7 @@ void RulesUI::on_varBreeding_toggled(const bool b) throw(Exception)
}
catch (Exception& e)
{
- bugs.report(e);
+ BugCatcher::report(e);
setGui();
}
}
@@ -155,7 +153,7 @@ void RulesUI::on_varMaxMoves_valueChanged(const int m) throw(BoundsException)
}
catch (BoundsException& e)
{
- bugs.report(e);
+ BugCatcher::report(e);
setGui();
}
}
@@ -168,7 +166,7 @@ void RulesUI::on_varMaxLevel_valueChanged(const int m) throw(BoundsException)
}
catch (BoundsException& e)
{
- bugs.report(e);
+ BugCatcher::report(e);
setGui();
}
}
@@ -206,7 +204,7 @@ void RulesUI::on_varMaxDV_currentIndexChanged(const QString& m) throw(BoundsExce
}
catch (BoundsException& e)
{
- bugs.report(e);
+ BugCatcher::report(e);
setGui();
}
}
@@ -258,7 +256,7 @@ void RulesUI::on_varPokerusNum_valueChanged(const int p) throw(Exception)
}
catch (Exception& e)
{
- bugs.report(e);
+ BugCatcher::report(e);
setGui();
}
}
@@ -273,7 +271,7 @@ void RulesUI::on_varPokerusDenom_valueChanged(const int p) throw(Exception)
}
catch (Exception& e)
{
- bugs.report(e);
+ BugCatcher::report(e);
setGui();
}
}