From 87bc8b43600937a3d83cbdf8345e23a484755e3a Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 2 Jun 2008 01:50:47 +0000 Subject: [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 --- pokemodr/PokeModr.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pokemodr/PokeModr.cpp') 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 #include #include +#include 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(); -- cgit