diff options
author | kosmo | 2004-12-14 14:52:30 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 8e23797a1b409ba5872806ed4bb00707abc3b5dd (patch) | |
tree | 2b51164bc417198839f168fbc2279781c0bd9e5f | |
parent | 9abd6daa2fcf89ce47a32afcf4219c1d8e70605e (diff) | |
download | apollon-8e23797a1b409ba5872806ed4bb00707abc3b5dd.zip apollon-8e23797a1b409ba5872806ed4bb00707abc3b5dd.tar.gz |
- patch for a very stupid bug
Changed files:
apollon-firstrun.patch -> 1.1
-rw-r--r-- | apollon-firstrun.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/apollon-firstrun.patch b/apollon-firstrun.patch new file mode 100644 index 0000000..a2b2547 --- /dev/null +++ b/apollon-firstrun.patch @@ -0,0 +1,23 @@ +diff -urN a/apollon/firstrun.ui.h b/apollon/firstrun.ui.h +--- a/apollon/firstrun.ui.h 2004-10-13 18:33:15.000000000 +0200 ++++ b/apollon/firstrun.ui.h 2004-12-14 14:50:42.047878040 +0100 +@@ -48,15 +48,13 @@ + return true; + else + { +- + //where are the plugins installed? +- QDir installedPath ("/usr/share/giFT/giftd.conf.template"); +- if (installedPath.exists()) { +- installedPath = "/usr/share/giFT/"; ++ QDir installedPath; ++ if (QFile::exists("/usr/share/giFT/giftd.conf.template")) { ++ installedPath = "/usr/share/giFT"; + } + else { +- installedPath = "/usr/local/share/giFT/giftd.conf.template"; +- if (QFile::exists(installedPath.path())) ++ if (QFile::exists("/usr/local/share/giFT/giftd.conf.template")) + installedPath = "/usr/local/share/giFT"; + else { + KMessageBox::sorry(this, |