diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-07 19:23:19 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-07 19:23:19 +0100 |
commit | 438c74630e5f8c9a46d00b991f5cb8ecd479dafe (patch) | |
tree | 9d0057f70490448a2f1a6b3416578d56f6da3384 /common/query.cpp | |
parent | 2660a30589af9d01798b04a6fd1e9090a1f0cdd0 (diff) | |
download | sink-438c74630e5f8c9a46d00b991f5cb8ecd479dafe.tar.gz sink-438c74630e5f8c9a46d00b991f5cb8ecd479dafe.zip |
Register query serializer
Diffstat (limited to 'common/query.cpp')
-rw-r--r-- | common/query.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/query.cpp b/common/query.cpp index 67b74cc..3b717aa 100644 --- a/common/query.cpp +++ b/common/query.cpp | |||
@@ -24,6 +24,8 @@ | |||
24 | 24 | ||
25 | using namespace Sink; | 25 | using namespace Sink; |
26 | 26 | ||
27 | static const int registerQuery = qRegisterMetaTypeStreamOperators<Sink::QueryBase>(); | ||
28 | |||
27 | QDebug operator<<(QDebug dbg, const Sink::Query::Comparator &c) | 29 | QDebug operator<<(QDebug dbg, const Sink::Query::Comparator &c) |
28 | { | 30 | { |
29 | if (c.comparator == Sink::Query::Comparator::Equals) { | 31 | if (c.comparator == Sink::Query::Comparator::Equals) { |