diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-03-27 16:47:40 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-03-31 11:11:08 +0200 |
commit | 95fab4cac8217446684cfe6bd3f0218b0655530b (patch) | |
tree | 607b8beada461d46ae751a11fe7e9459d08033b1 /common/clientapi.cpp | |
parent | 7642433a4fafd2ccf7e8b43c81ec18282f544a3b (diff) | |
download | sink-95fab4cac8217446684cfe6bd3f0218b0655530b.tar.gz sink-95fab4cac8217446684cfe6bd3f0218b0655530b.zip |
Minor cleanup, less warnings.
Diffstat (limited to 'common/clientapi.cpp')
-rw-r--r-- | common/clientapi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/clientapi.cpp b/common/clientapi.cpp index 190bb57..10115da 100644 --- a/common/clientapi.cpp +++ b/common/clientapi.cpp | |||
@@ -34,6 +34,7 @@ QString getTypeName<Todo>() | |||
34 | void Store::shutdown(const QString &identifier) | 34 | void Store::shutdown(const QString &identifier) |
35 | { | 35 | { |
36 | Akonadi2::ResourceAccess resourceAccess(identifier); | 36 | Akonadi2::ResourceAccess resourceAccess(identifier); |
37 | //FIXME this starts the resource, just to shut it down again if it's not running in the first place. | ||
37 | resourceAccess.open(); | 38 | resourceAccess.open(); |
38 | resourceAccess.sendCommand(Akonadi2::Commands::ShutdownCommand).then<void>([](Async::Future<void> &f){ | 39 | resourceAccess.sendCommand(Akonadi2::Commands::ShutdownCommand).then<void>([](Async::Future<void> &f){ |
39 | //TODO wait for disconnect | 40 | //TODO wait for disconnect |