summaryrefslogtreecommitdiffstats
path: root/secpolicy/main.cpp
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2018-08-08 09:17:51 +0200
committerGitea <[email protected]>2018-08-14 15:36:15 +0000
commitfd23964ad012326a066f22c04aec7baa24774077 (patch)
tree4d112b4bb634f42cac69e70c11d1c84326c6add6 /secpolicy/main.cpp
parent85d8a9b70336ba404e44bc8f45e6f9ff39344a0a (diff)
downloadtdeadmin-fd23964ad012326a066f22c04aec7baa24774077.tar.gz
tdeadmin-fd23964ad012326a066f22c04aec7baa24774077.zip
TDECmdLineArgs::init should be initialize with TDEAboutData
Diffstat (limited to 'secpolicy/main.cpp')
-rw-r--r--secpolicy/main.cpp7
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);