summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-09-12 13:35:57 +0200
committerMontel Laurent <[email protected]>2017-09-12 13:36:08 +0200
commitdab83ff09cca251df28b5a2bf2f88c85b8f887f8 (patch)
tree7b0f00805e966773f80f7cfa026e9eb1a9b87332
parentd5d19994382654bf67f61596125e44cc30c28904 (diff)
Remove kaboutdata in test apps
-rw-r--r--korgac/tests/testalarmdlg.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/korgac/tests/testalarmdlg.cpp b/korgac/tests/testalarmdlg.cpp
index d473168..9804456 100644
--- a/korgac/tests/testalarmdlg.cpp
+++ b/korgac/tests/testalarmdlg.cpp
@@ -29,11 +29,8 @@
#include <KCalCore/Event>
#include <KCalCore/Todo>
-#include <KAboutData>
-
#include <QDateTime>
#include <QApplication>
-#include <KLocalizedString>
#include <QCommandLineParser>
using namespace KCalCore;
@@ -49,14 +46,10 @@ template<class T> Akonadi::Item incidenceToItem(T *incidence)
int main(int argc, char **argv)
{
QApplication app(argc, argv);
- KAboutData aboutData(QStringLiteral("testkabc"), i18n("TestKabc"), QStringLiteral("0.1"));
QCommandLineParser parser;
- KAboutData::setApplicationData(aboutData);
parser.addVersionOption();
parser.addHelpOption();
- aboutData.setupCommandLine(&parser);
parser.process(app);
- aboutData.processCommandLine(&parser);
Event *e1 = new Event;
e1->setSummary(QStringLiteral("This is a summary."));