From 081bd53cf22ca40a6e436bc46eb62ad469909d6f Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 25 Jan 2008 02:21:09 +0000 Subject: [FIX] Frac returns a double (not an unsigned typcast to double, making 0 all the time) [FIX] maxDV now works on 0 and 1 rather than 16 and 32 [FIX] Stuff ignored (due to other options) can't throw Exceptions in Rules anymore [FIX] UI logic fixed git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@45 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemodr/PokeModr.cpp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'pokemodr/PokeModr.cpp') diff --git a/pokemodr/PokeModr.cpp b/pokemodr/PokeModr.cpp index 0b668136..ee9d6ee0 100644 --- a/pokemodr/PokeModr.cpp +++ b/pokemodr/PokeModr.cpp @@ -45,7 +45,15 @@ int main(int argc, char* argv[]) KConfig cfg("~/.kde/share/config/pokegenrc"); - PokeModrUI mainWindow(cfg.group("pokemodr"), cfg.group("pokemodr-recent")); - mainWindow.show(); - return app.exec(); + try + { + PokeModrUI mainWindow(cfg.group("pokemodr"), cfg.group("pokemodr-recent")); + mainWindow.show(); + return app.exec(); + } + catch (Exception& e) + { + BugCatcher::report(e); + } + return -1; } -- cgit