diff options
author | Dan Vrátil <dvratil@redhat.com> | 2015-05-15 16:22:03 +0200 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2015-05-15 16:22:31 +0200 |
commit | b43c0cf97615957e097daef29ff8febc1ec884c8 (patch) | |
tree | 445479bf66df161e8554844a478d99d03ba43061 /synchronizer | |
parent | 9270185becb48401bf3b2337d248763df0873107 (diff) | |
download | sink-b43c0cf97615957e097daef29ff8febc1ec884c8.tar.gz sink-b43c0cf97615957e097daef29ff8febc1ec884c8.zip |
Adapt to KAsync namespace change
Diffstat (limited to 'synchronizer')
-rw-r--r-- | synchronizer/CMakeLists.txt | 2 | ||||
-rw-r--r-- | synchronizer/listener.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/synchronizer/CMakeLists.txt b/synchronizer/CMakeLists.txt index 1f95802..4b6412b 100644 --- a/synchronizer/CMakeLists.txt +++ b/synchronizer/CMakeLists.txt | |||
@@ -8,6 +8,6 @@ set(akonadi2synchronizer_SRCS | |||
8 | ) | 8 | ) |
9 | 9 | ||
10 | add_executable(${PROJECT_NAME} ${akonadi2synchronizer_SRCS}) | 10 | add_executable(${PROJECT_NAME} ${akonadi2synchronizer_SRCS}) |
11 | target_link_libraries(${PROJECT_NAME} akonadi2common) | 11 | target_link_libraries(${PROJECT_NAME} akonadi2common KF5Async) |
12 | qt5_use_modules(${PROJECT_NAME} Widgets Network) | 12 | qt5_use_modules(${PROJECT_NAME} Widgets Network) |
13 | install(TARGETS ${PROJECT_NAME} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | 13 | install(TARGETS ${PROJECT_NAME} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) |
diff --git a/synchronizer/listener.cpp b/synchronizer/listener.cpp index 8527ec2..71723c9 100644 --- a/synchronizer/listener.cpp +++ b/synchronizer/listener.cpp | |||
@@ -220,7 +220,7 @@ void Listener::processCommand(int commandId, uint messageId, Client &client, uin | |||
220 | Warning() << "No resource loaded"; | 220 | Warning() << "No resource loaded"; |
221 | break; | 221 | break; |
222 | } | 222 | } |
223 | auto job = Async::null<void>(); | 223 | auto job = KAsync::null<void>(); |
224 | if (buffer->sourceSync()) { | 224 | if (buffer->sourceSync()) { |
225 | job = m_resource->synchronizeWithSource(m_pipeline); | 225 | job = m_resource->synchronizeWithSource(m_pipeline); |
226 | } | 226 | } |