diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-02-25 12:22:16 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-02-25 14:41:25 +0100 |
commit | 6c49b4290955ef1b3a502b4e5e223a4fd5573683 (patch) | |
tree | 79f2c11c36a6bd1d407328081c1cecfb9416da97 /desktop/inc/lib/init.hxx | |
parent | c6abf6449e26bb1e1da382ddbe769cd14463467f (diff) |
make sure that LOK "updated types" start a timer as well
273a25c796fca9afa0dfadac57dc3f336831221c changed the handling of LOK
messages to only set up an "updated" flag for types and then
when flushing the value is fetched. This means that queue() is not
called for such updates, and so the timeout to flush the messages
wasn't started.
Change-Id: I3a7324c86a55697f509f80b6c54cb949fb1daa72
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130526
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'desktop/inc/lib/init.hxx')
-rw-r--r-- | desktop/inc/lib/init.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/inc/lib/init.hxx b/desktop/inc/lib/init.hxx index 288fa8ebfcc0..6132a7a302cc 100644 --- a/desktop/inc/lib/init.hxx +++ b/desktop/inc/lib/init.hxx @@ -177,6 +177,7 @@ namespace desktop { typedef std::vector<int> queue_type1; typedef std::vector<CallbackData> queue_type2; + void startTimer(); bool removeAll(int type); bool removeAll(int type, const std::function<bool (const CallbackData&)>& rTestFunc); bool processInvalidateTilesEvent(int type, CallbackData& aCallbackData); |