summary refs log tree commit diff
path: root/src/ui/RippleOverlay.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-10-28 20:46:34 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-10-28 20:46:34 +0300
commitc18a49915b4b98ac7f837a1feca3e243ac44940d (patch)
tree98fda5a56640689bebf7b6294722f4151731a156 /src/ui/RippleOverlay.cc
parentClean up headers (diff)
downloadnheko-c18a49915b4b98ac7f837a1feca3e243ac44940d.tar.xz
Save the changes between syncs in cache
- Fixes high cpu issues caused by the serialization of the whole
  in-memory state.
- Display name changes are now visible in the timeline.
Diffstat (limited to '')
-rw-r--r--src/ui/RippleOverlay.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/RippleOverlay.cc b/src/ui/RippleOverlay.cc
index 26d432f6..a3567db2 100644
--- a/src/ui/RippleOverlay.cc
+++ b/src/ui/RippleOverlay.cc
@@ -48,7 +48,7 @@ RippleOverlay::paintEvent(QPaintEvent *event)
         if (use_clip_)
                 painter.setClipPath(clip_path_);
 
-        for (auto it = ripples_.constBegin(); it != ripples_.constEnd(); it++)
+        for (auto it = ripples_.constBegin(); it != ripples_.constEnd(); ++it)
                 paintRipple(&painter, *it);
 }