From af0f69d6c267d231d01b69525b91add8309e43e0 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 21 Oct 2015 12:05:09 +0200 Subject: ClientAPI: Don't require an explicit instance identifier --- tests/dummyresourcebenchmark.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/dummyresourcebenchmark.cpp') diff --git a/tests/dummyresourcebenchmark.cpp b/tests/dummyresourcebenchmark.cpp index c020c6b..370acd2 100644 --- a/tests/dummyresourcebenchmark.cpp +++ b/tests/dummyresourcebenchmark.cpp @@ -72,11 +72,11 @@ private Q_SLOTS: int num = 100; QList > waitCondition; for (int i = 0; i < num; i++) { - Akonadi2::ApplicationDomain::Event event; + Akonadi2::ApplicationDomain::Event event("org.kde.dummy.instance1"); event.setProperty("uid", "testuid"); QCOMPARE(event.getProperty("uid").toByteArray(), QByteArray("testuid")); event.setProperty("summary", "summaryValue"); - waitCondition << Akonadi2::Store::create(event, "org.kde.dummy.instance1").exec(); + waitCondition << Akonadi2::Store::create(event).exec(); } waitForCompletion(waitCondition).exec().waitForFinished(); auto appendTime = time.elapsed(); -- cgit v1.2.3