summaryrefslogtreecommitdiffstats
path: root/pokemodr/PokeModr.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-06-04 06:58:53 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-06-04 06:58:53 +0000
commit2a34d37f69c21224a1f0795aa802b75300aa96da (patch)
tree5b8ae885b48c3a2a0f876079f2dfb95258949786 /pokemodr/PokeModr.cpp
parent9180817f1d52ffe67ea30ec07ebc87d8a274319c (diff)
[FIX] URLs now accepted on the command line
[FIX] Now remembers splitter position [FIX] Remembers opened files (via options) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@192 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/PokeModr.cpp')
-rw-r--r--pokemodr/PokeModr.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/pokemodr/PokeModr.cpp b/pokemodr/PokeModr.cpp
index c55f6209..8b707a10 100644
--- a/pokemodr/PokeModr.cpp
+++ b/pokemodr/PokeModr.cpp
@@ -39,16 +39,19 @@ int main(int argc, char* argv[])
KAboutData about("pokemodr", "pokemodr", ki18n("PokéModr"), VERSION_STRING, ki18n(""), KAboutData::License_Custom, 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");
+ about.addAuthor(ki18n("Ben Boeckel"), ki18n("Lead Programmer"), "MathStuf@gmail.com", "");
about.addCredit(ki18n("Peter Fernandes"), ki18n("Ideas"), "supersonicandtails@gmail.com", "http://www.hypersonicsoft.org");
about.addCredit(ki18n("Kevin Kofler"), ki18n("Qt, KDE, debugging help"), "kevin.kofler@chello.at", "http://www.tigen.org/kevin.kofler");
+ about.addCredit(ki18n("Luke Greco"), ki18n("Ideas"), "sirlewk@gmail.com", "");
KCmdLineArgs::init(argc, argv, &about);
- KApplication* app = new KApplication();
+ KCmdLineOptions options;
+ options.add("+[files]", ki18n("Files to open"));
+ KCmdLineArgs::addCmdLineOptions(options);
- KConfig cfg(KStandardDirs::locate("config", "pokemodrrc"));
+ KApplication* app = new KApplication();
- PokeModrUI* mainWindow = new PokeModrUI(cfg.group("pokemodr"));
+ PokeModrUI* mainWindow = new PokeModrUI;
mainWindow->show();
app->exec();
return 0;