diff options
author | gregory guy <[email protected]> | 2018-08-08 09:17:51 +0200 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-08-15 00:39:01 +0900 |
commit | 3f6f00f9aa3363b45ee8de5b408c498232cdde15 (patch) | |
tree | 52a3a25017be67e30faf5d8b441ed129870314bf | |
parent | 446705cb773f9d2b2bf9cc8fd88a183124086085 (diff) | |
download | tdeadmin-3f6f00f9aa3363b45ee8de5b408c498232cdde15.tar.gz tdeadmin-3f6f00f9aa3363b45ee8de5b408c498232cdde15.zip |
TDECmdLineArgs::init should be initialize with TDEAboutData
(cherry picked from commit fd23964ad012326a066f22c04aec7baa24774077)
-rw-r--r-- | secpolicy/main.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/secpolicy/main.cpp b/secpolicy/main.cpp index 7f5a8ee..1071f04 100644 --- a/secpolicy/main.cpp +++ b/secpolicy/main.cpp @@ -26,6 +26,7 @@ #include <tdecmdlineargs.h> #include <tdelocale.h> #include <stdlib.h> +#include <tdeaboutdata.h> #include "secpolicywin.h" @@ -37,7 +38,11 @@ static const char version[] = "v0.0.1"; int main(int argc, char **argv) { - TDECmdLineArgs::init(argc, argv, "secpolicy", description, version); + TDEAboutData aboutData("secpolicy", I18N_NOOP("secpolicy"), + version, description, TDEAboutData::License_GPL, + "(c) 1999 by Preston Brown"); + TDECmdLineArgs::init( argc, argv, &aboutData ); + aboutData.addAuthor( "Preston Brown", 0, "[email protected]"); if (!KUniqueApplication::start()) exit(0); |