[patch] fix deprecated init() call in kdelibs/kio/misc/ktelnetservice.cpp

Brad Hards bhards at bigpond.net.au
Wed Jan 7 11:12:12 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OK to apply?

Brad

RCS file: /home/kde/kdelibs/kio/misc/ktelnetservice.cpp,v
retrieving revision 1.6
diff -u -4 -p -r1.6 ktelnetservice.cpp
- --- ktelnetservice.cpp  13 Oct 2003 21:31:59 -0000      1.6
+++ ktelnetservice.cpp  7 Jan 2004 11:16:44 -0000
@@ -36,9 +36,10 @@ static const KCmdLineOptions options[] =

 int main(int argc, char **argv)
 {
        KLocale::setMainCatalogue("kdelibs");
- -       KCmdLineArgs::init(argc, argv, "ktelnetservice", I18N_NOOP("telnet service"), I18N_NOOP("telnet protocol handler"));
+       KCmdLineArgs::init(argc, argv, "ktelnetservice", I18N_NOOP("telnet service"),
+                          I18N_NOOP("telnet protocol handler"), "unknown");
        KCmdLineArgs::addCmdLineOptions(options);

        KApplication app;

- -- 
http://linux.conf.au - I'm registered. Are you?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/++mNGwwszQ/PZzgRAmrRAJ4vE0qGzKj6Ci3TLETMLETLt4agPACfbQ0j
hDuGJlGBPNrJ3c0CybCmiFU=
=qEQV
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list