From 206e643588f64c14289509bc908d5d0b404e3fa7 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 5 Mar 2013 15:32:29 +0100 Subject: [PATCH] adapt to api changes --- main.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/main.cpp b/main.cpp index 1031759bb..5ef297fc5 100644 --- a/main.cpp +++ b/main.cpp @@ -37,13 +37,16 @@ static const char version[] = "1.0"; int main(int argc, char** argv) { - KAboutData aboutData("testplasma2", QString(), ki18n("Plasma2 test app"), - version, ki18n(description), KAboutData::License_GPL, - ki18n("Copyright 2012, The KDE Team")); - aboutData.addAuthor(ki18n("Marco Martin"), - ki18n("Author and maintainer"), + KAboutData aboutData("testplasma2", QString(), i18n("Plasma2 test app"), + version, i18n(description), KAboutData::License_GPL, + i18n("Copyright 2012, The KDE Team")); + aboutData.addAuthor(i18n("Marco Martin"), + i18n("Author and maintainer"), "mart@kde.org"); - KCmdLineArgs::init(argc, argv, &aboutData); + KCmdLineArgs::init(argc, argv, + "testplasma2", "", + ki18n("Plasma2 test app"), + version); QApplication app(argc, argv);