[patch] fix deprecated init() usage in kdelibs/libkscreensaver/main.cpp

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


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

I've put this one up before. Is it OK to apply?

Brad

RCS file: /home/kde/kdelibs/libkscreensaver/main.cpp,v
retrieving revision 1.13
diff -u -4 -p -r1.13 main.cpp
- --- main.cpp    13 Oct 2003 21:31:59 -0000      1.13
+++ main.cpp    7 Jan 2004 11:04:32 -0000
@@ -93,9 +93,11 @@ typedef WId Window;

 int main(int argc, char *argv[])
 {
     KLocale::setMainCatalogue("libkscreensaver");
- -    KCmdLineArgs::init(argc, argv, kss_applicationName, kss_description, kss_version);
+    KCmdLineArgs::init(argc, argv, kss_applicationName,
+                      I18N_NOOP("KDE Screensaver"),
+                      kss_description, kss_version);

     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/++dhGwwszQ/PZzgRAu10AJ9ayndchd5adE5Sh16KOP+b/k16EwCfYyNc
Sg/bARKPINjQzed5gfqq9M0=
=ZKqy
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list