diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-06-02 01:50:47 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-06-02 01:50:47 +0000 |
| commit | 87bc8b43600937a3d83cbdf8345e23a484755e3a (patch) | |
| tree | 661131614ed841f68ab8cc23ea372983d49fbe20 /pokemodr/PokeModr.cpp | |
| parent | f3e081acd87439efadd5ff4181916e06cc07f051 (diff) | |
| download | sigen-87bc8b43600937a3d83cbdf8345e23a484755e3a.tar.gz sigen-87bc8b43600937a3d83cbdf8345e23a484755e3a.tar.xz sigen-87bc8b43600937a3d83cbdf8345e23a484755e3a.zip | |
[FIX] Modified Rules a bit
[FIX] Updated Rules widget to match up with Rules
[FIX] Reorganized the Rules widget
[FIX] Using KStandardDirs rather than hardcoded ones
[FIX] Cleaned up some minor things with KListWidgets
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@188 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/PokeModr.cpp')
| -rw-r--r-- | pokemodr/PokeModr.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pokemodr/PokeModr.cpp b/pokemodr/PokeModr.cpp index ce0bea71..c55f6209 100644 --- a/pokemodr/PokeModr.cpp +++ b/pokemodr/PokeModr.cpp @@ -31,11 +31,12 @@ #include <KCmdLineArgs> #include <KConfig> #include <KConfigGroup> +#include <KStandardDirs> int main(int argc, char* argv[]) { QTextCodec::setCodecForCStrings(QTextCodec::codecForLocale()); - 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"); + 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"); @@ -45,7 +46,7 @@ int main(int argc, char* argv[]) KCmdLineArgs::init(argc, argv, &about); KApplication* app = new KApplication(); - KConfig cfg("~/.kde/share/config/pokegenrc"); + KConfig cfg(KStandardDirs::locate("config", "pokemodrrc")); PokeModrUI* mainWindow = new PokeModrUI(cfg.group("pokemodr")); mainWindow->show(); |
