diff --git a/src/libs/timeline/timelineselectionrenderpass.cpp b/src/libs/timeline/timelineselectionrenderpass.cpp index 6fbe69d3012..dbf33a8b070 100644 --- a/src/libs/timeline/timelineselectionrenderpass.cpp +++ b/src/libs/timeline/timelineselectionrenderpass.cpp @@ -103,8 +103,8 @@ TimelineRenderPass::State *TimelineSelectionRenderPass::update( // left and width the error on the left border is inherited by the right border. Like this // they're independent. - QRectF outer(QPointF(qFloor(left * parentState->scale()), top), - QPointF(qCeil(right * parentState->scale()), top + height)); + QRectF outer(QPointF(left * parentState->scale(), top), + QPointF(right * parentState->scale(), top + height)); float scaleConversion = parentState->scale() / spacing; float missing = 3.0 - outer.width() / scaleConversion;