diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-01-25 02:21:09 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-01-25 02:21:09 +0000 |
| commit | 081bd53cf22ca40a6e436bc46eb62ad469909d6f (patch) | |
| tree | 2b20a84df93e418ab0261231cf4b993ec57b2ca2 /pokemodr/PokeModr.cpp | |
| parent | 095c93a62b0be0893063748d67051e35810a7f48 (diff) | |
| download | sigen-081bd53cf22ca40a6e436bc46eb62ad469909d6f.tar.gz sigen-081bd53cf22ca40a6e436bc46eb62ad469909d6f.tar.xz sigen-081bd53cf22ca40a6e436bc46eb62ad469909d6f.zip | |
[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
Diffstat (limited to 'pokemodr/PokeModr.cpp')
| -rw-r--r-- | pokemodr/PokeModr.cpp | 14 |
1 files changed, 11 insertions, 3 deletions
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; } |
