diff options
author | Rémi Nicole <nicole@kolabsystems.com> | 2018-06-19 11:08:33 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-06-19 11:11:43 +0200 |
commit | 9bd69f924b84df434f8ddcaca0001afd10cd6f50 (patch) | |
tree | d248e2fcab0ea2391910516f9e275121112877bf /framework/src/domain/perioddayeventmodel.h | |
parent | e9f98dbe4ccc2066e35c626f003d2401a9ca83e2 (diff) | |
download | kube-9bd69f924b84df434f8ddcaca0001afd10cd6f50.tar.gz kube-9bd69f924b84df434f8ddcaca0001afd10cd6f50.zip |
Use Overlap Sink query in PeriodDayEventModel
Summary:
And completely removed filtering (SInk should guaranteed events returned are within the period so out-of-bounds segfaults should not happen)
Depends on D13477
Reviewers: cmollekopf
Tags: #kube
Differential Revision: https://phabricator.kde.org/D13490
Diffstat (limited to 'framework/src/domain/perioddayeventmodel.h')
-rw-r--r-- | framework/src/domain/perioddayeventmodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/src/domain/perioddayeventmodel.h b/framework/src/domain/perioddayeventmodel.h index 9458fc03..672afbea 100644 --- a/framework/src/domain/perioddayeventmodel.h +++ b/framework/src/domain/perioddayeventmodel.h | |||
@@ -117,6 +117,7 @@ public: | |||
117 | void setPeriodLength(int); | 117 | void setPeriodLength(int); |
118 | 118 | ||
119 | private: | 119 | private: |
120 | void updateQuery(); | ||
120 | void partitionData(); | 121 | void partitionData(); |
121 | 122 | ||
122 | int bucketOf(const QDate &candidate) const; | 123 | int bucketOf(const QDate &candidate) const; |