summaryrefslogtreecommitdiffstats
path: root/examples/opengl/overpainting/bubble.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/overpainting/bubble.cpp')
-rw-r--r--examples/opengl/overpainting/bubble.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/overpainting/bubble.cpp b/examples/opengl/overpainting/bubble.cpp
index c64cca7e0d..dbcb72bc93 100644
--- a/examples/opengl/overpainting/bubble.cpp
+++ b/examples/opengl/overpainting/bubble.cpp
@@ -85,7 +85,7 @@ void Bubble::move(const QRect &bbox)
qreal rightOverflow = position.x() + radius - bbox.right();
qreal topOverflow = position.y() - radius - bbox.top();
qreal bottomOverflow = position.y() + radius - bbox.bottom();
-
+
if (leftOverflow < 0.0) {
position.setX(position.x() - 2 * leftOverflow);
vel.setX(-vel.x());