From 25d08af0851b56db664cee7f6463532d7c103d33 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sat, 31 Oct 2015 21:08:39 +0100 Subject: Fixed shutdown and synchronize commands --- examples/client/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'examples/client') diff --git a/examples/client/main.cpp b/examples/client/main.cpp index 52f3607..0a1a725 100644 --- a/examples/client/main.cpp +++ b/examples/client/main.cpp @@ -59,7 +59,9 @@ public: auto syncButton = new QPushButton(this); syncButton->setText("Synchronize!"); QObject::connect(syncButton, &QPushButton::pressed, []() { - Akonadi2::Store::synchronize("org.kde.dummy.instance1"); + Akonadi2::Query query; + query.resources << "org.kde.dummy.instance1"; + Akonadi2::Store::synchronize(query); }); auto removeButton = new QPushButton(this); -- cgit v1.2.3