diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2008-02-24 22:36:40 +0000 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2008-02-24 22:36:40 +0000 |
commit | 1e02a507f0b481465f5b47441479b98a81aee079 (patch) | |
tree | a6a108f187ec6f134c60470fdf317d0a77b2fdd3 /pokemodr/PokeModr.cpp | |
parent | 26c9e526435474aa3e7f8e1be39dfb474dd8b368 (diff) | |
download | sigen-1e02a507f0b481465f5b47441479b98a81aee079.tar.gz sigen-1e02a507f0b481465f5b47441479b98a81aee079.tar.xz sigen-1e02a507f0b481465f5b47441479b98a81aee079.zip |
[FIX] KTabWidget now used rather than QTabWidget (though this kills Qt Designer interaction :\ )
[FIX] Minor fixes in PokeModr class
[DEL] Ref.{h, cpp}
[FIX] Ref enumerations now in Pokemod class
[FIX] new/delete used for subclasses in pokemod now
[FIX] Inclusion hell in pokemod (should compile faster)
[FIX] Spelling typos
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@82 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/PokeModr.cpp')
-rw-r--r-- | pokemodr/PokeModr.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pokemodr/PokeModr.cpp b/pokemodr/PokeModr.cpp index b1130634..368f1249 100644 --- a/pokemodr/PokeModr.cpp +++ b/pokemodr/PokeModr.cpp @@ -35,7 +35,7 @@ int main(int argc, char* argv[]) { - KAboutData about("pokemodr", "pokemodr", ki18n("PokéModr"), VERSION_STRING, ki18n(""), KAboutData::License_Unknown, ki18n("©2007-2008 Ben Boeckel and Nerdy Productions"), ki18n("This program allows for an easy interface so that PokéMods can be easily created."), "http://sourceforge.net/projects/pokegen"); + KAboutData about("pokemodr", "pokemodr", ki18n("PokéModr"), VERSION_STRING, ki18n(""), KAboutData::License_Unknown, ki18n("©2007-2008 Ben Boeckel and Nerdy Productions"), ki18n("This program offers an easy interface so that PokéMods can be easily created."), "http://sourceforge.net/projects/pokegen"); about.setLicenseTextFile("LICENSE"); about.setProgramName(ki18n("PokéModr")); about.addAuthor(ki18n("Ben Boeckel"), ki18n("Lead Programmer"), "MathStuf@gmail.com", "http://nerdyproductions.sobertillnoon.com"); @@ -49,19 +49,20 @@ int main(int argc, char* argv[]) KConfig cfg("~/.kde/share/config/pokegenrc"); + int ret = 0; try { PokeModrUI mainWindow(cfg.group("pokemodr"), cfg.group("pokemodr-recent")); ImageDialog::init(&mainWindow); mainWindow.show(); app.exec(); - ImageDialog::cleanUp(); } catch (Exception& e) { BugCatcher::report(e); BugCatcher::report(Exception("PokeModr", "Uncaught exception")); - return -1; + ret = 1; } - return 0; + ImageDialog::cleanUp(); + return ret; } |