From fd23964ad012326a066f22c04aec7baa24774077 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Wed, 8 Aug 2018 09:17:51 +0200 Subject: [PATCH] TDECmdLineArgs::init should be initialize with TDEAboutData --- secpolicy/main.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 #include #include +#include #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);