]> pere.pagekite.me Git - homepage.git/blob - linux/kde/klpq-printcap-missing.diff
Generated.
[homepage.git] / linux / kde / klpq-printcap-missing.diff
1 diff -ru src-1.1.1pre1/klpq/main.cpp src-1.1.1pre1-386linuxlibc6/klpq/main.cpp
2 --- src-1.1.1pre1/klpq/main.cpp Sun Jan 10 18:47:19 1999
3 +++ src-1.1.1pre1-386linuxlibc6/klpq/main.cpp Sun Apr 25 18:16:45 1999
4 @@ -33,6 +33,7 @@
5 #include <qfile.h>
6 #include <qtstream.h>
7 #include <qstrlist.h>
8 +#include <qmessagebox.h>
9
10 #include <kapp.h>
11 #include <drag.h>
12 @@ -175,13 +176,18 @@
13 }
14 if( no_printcap )
15 {
16 - debug(klocale->translate("Sorry, can't open your printcap file."));
17 + QMessageBox::critical( 0, "klpq",
18 + QString(klocale->translate("Sorry, can't open your printcap file."))
19 + + "\n\n" + klocale->translate("klpq will no exit."));
20 exit(1);
21 }
22 if( empty_printcap )
23 {
24 - debug(klocale->translate("Sorry, unable to parse your printcap."));
25 - debug(klocale->translate("Please email your printcap to Christoph.Neerfeld@home.ivm.de"));
26 + QMessageBox::critical( 0, "klpq",
27 + QString(klocale->translate("Sorry, unable to parse your printcap."))
28 + + "\n"
29 + + klocale->translate("Please email your printcap to Christoph.Neerfeld@home.ivm.de")
30 + + "\n\n" + klocale->translate("klpq will no exit."));
31 exit(1);
32 }
33