diff options
Diffstat (limited to 'pokemodr/RulesUI.cpp')
| -rw-r--r-- | pokemodr/RulesUI.cpp | 14 |
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(); } } |
