]> git.pld-linux.org Git - packages/apollon.git/commitdiff
- patch for a very stupid bug
authorkosmo <kosmo@pld-linux.org>
Tue, 14 Dec 2004 14:52:30 +0000 (14:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apollon-firstrun.patch -> 1.1

apollon-firstrun.patch [new file with mode: 0644]

diff --git a/apollon-firstrun.patch b/apollon-firstrun.patch
new file mode 100644 (file)
index 0000000..a2b2547
--- /dev/null
@@ -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, 
This page took 0.065255 seconds and 4 git commands to generate.