print-preview bug resolved

Wolf-Ruediger Juergens WJuergens at t-online.de
Mon Apr 2 21:10:49 BST 2001


Hi,
I resolved the very annoying bug in print-preview of Kdevelop1.4.1
Problem is that no Preview was generated because locate doesn't give a 
user writeable dir back.

After reading the doc and found locateLocale I've changed the files 
below and the preview was ok :-) at least for me.

File: kdevelop/print/cconfiga2psdlg.cpp
Line: 825
- dir =  locate("appdata", "preview.ps");
+ dir =  locateLocal("appdata", "preview.ps");

File: kdevelop/print/cconfigenscriptdlg.cpp
Line: 2677
- dir =  locate("appdata", "preview.ps");
+ dir =  locateLocal("appdata", "preview.ps");

File: kdevelop/print/cprintdlg.cpp
Line: 1017
-     dir = locate("appdata", "preview.html");
+     dir = locateLocal("appdata", "preview.html");
Line: 1020
-     dir = locate("appdata", "preview.ps");
+     dir = locateLocal("appdata", "preview.ps");

HTH
Wolf
-- 
Registered Linux user #37136 - GnuPG 1.04 Key-ID: 5E2A6678 
fingerprint: A9A8 1E85 1334 38F2 1EDC  1DEF ADFE 12B2 5E2A 6678
http://wjuergens.bei.t-online.de/index.html

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list