diff options
author | gregory guy <g-gregory@gmx.fr> | 2018-08-08 09:17:51 +0200 |
---|---|---|
committer | Gitea <gitea@mirror.git.trinitydesktop.org> | 2018-08-14 15:36:15 +0000 |
commit | fd23964ad012326a066f22c04aec7baa24774077 (patch) | |
tree | 4d112b4bb634f42cac69e70c11d1c84326c6add6 /secpolicy | |
parent | 85d8a9b70336ba404e44bc8f45e6f9ff39344a0a (diff) | |
download | tdeadmin-fd23964ad012326a066f22c04aec7baa24774077.tar.gz tdeadmin-fd23964ad012326a066f22c04aec7baa24774077.zip |
TDECmdLineArgs::init should be initialize with TDEAboutData
Diffstat (limited to 'secpolicy')
-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, "pbrown@kde.org"); if (!KUniqueApplication::start()) exit(0); |