From ef250617e8163c535931be045aa4e9d59163ace7 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 23 Jan 2008 04:50:24 +0000 Subject: [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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@40 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemodr/RulesUI.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'pokemodr/RulesUI.cpp') 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(); } } -- cgit