summaryrefslogtreecommitdiffstats
path: root/client/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/main.cpp')
-rw-r--r--client/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/main.cpp b/client/main.cpp
index 61c1c1a..b4cb081 100644
--- a/client/main.cpp
+++ b/client/main.cpp
@@ -41,7 +41,7 @@ int main(int argc, char *argv[])
41 } 41 }
42 42
43 for (const QString &resource: resources) { 43 for (const QString &resource: resources) {
44 Akonadi2::ResourceAccess *resAccess = new Akonadi2::ResourceAccess(resource); 44 Akonadi2::ResourceAccess *resAccess = new Akonadi2::ResourceAccess(resource.toLatin1());
45 QObject::connect(&app, &QCoreApplication::aboutToQuit, 45 QObject::connect(&app, &QCoreApplication::aboutToQuit,
46 resAccess, &Akonadi2::ResourceAccess::close); 46 resAccess, &Akonadi2::ResourceAccess::close);
47 resAccess->sendCommand(Akonadi2::Commands::SynchronizeCommand); 47 resAccess->sendCommand(Akonadi2::Commands::SynchronizeCommand);