From 5b41b26a349967acf2197f9f9228526193fd826e Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 27 Nov 2015 17:30:04 +0100 Subject: Introduced a QueryRunner object The QueryRunner object lives for the duration of the query (so just for the initial query for non-live queries, and for the lifetime of the result model for live queries). It's supposed to handle all the threading internally and decouple the lifetime of the facade. --- common/threadboundary.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'common/threadboundary.cpp') diff --git a/common/threadboundary.cpp b/common/threadboundary.cpp index 47ec508..48fd11a 100644 --- a/common/threadboundary.cpp +++ b/common/threadboundary.cpp @@ -24,6 +24,9 @@ Q_DECLARE_METATYPE(std::function); namespace async { ThreadBoundary::ThreadBoundary(): QObject() { qRegisterMetaType >("std::function"); } -ThreadBoundary:: ~ThreadBoundary() {} +ThreadBoundary:: ~ThreadBoundary() +{ +} + } -- cgit v1.2.3