diff options
Diffstat (limited to 'common/queryrunner.h')
-rw-r--r-- | common/queryrunner.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/queryrunner.h b/common/queryrunner.h index 155528e..439a990 100644 --- a/common/queryrunner.h +++ b/common/queryrunner.h | |||
@@ -74,8 +74,8 @@ private: | |||
74 | * A QueryRunner runs a query and updates the corresponding result set. | 74 | * A QueryRunner runs a query and updates the corresponding result set. |
75 | * | 75 | * |
76 | * The lifetime of the QueryRunner is defined by the resut set (otherwise it's doing useless work), | 76 | * The lifetime of the QueryRunner is defined by the resut set (otherwise it's doing useless work), |
77 | * and by how long a result set must be updated. If the query is one off the runner dies after the execution, | 77 | * and by how long a result set must be updated. If the query is a one off, the runner dies after the execution, |
78 | * otherwise it lives on the react to changes and updates the corresponding result set. | 78 | * otherwise it lives on to react to changes, and updates the corresponding result set. |
79 | * | 79 | * |
80 | * QueryRunner has to keep ResourceAccess alive in order to keep getting updates. | 80 | * QueryRunner has to keep ResourceAccess alive in order to keep getting updates. |
81 | */ | 81 | */ |
@@ -101,4 +101,5 @@ private: | |||
101 | ResultTransformation mResultTransformation; | 101 | ResultTransformation mResultTransformation; |
102 | QHash<QByteArray, qint64> mOffset; | 102 | QHash<QByteArray, qint64> mOffset; |
103 | int mBatchSize; | 103 | int mBatchSize; |
104 | QObject guard; | ||
104 | }; | 105 | }; |