summaryrefslogtreecommitdiffhomepage
path: root/spline/spline-widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'spline/spline-widget.cpp')
-rw-r--r--spline/spline-widget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp
index c2c2ed07..e4e43f71 100644
--- a/spline/spline-widget.cpp
+++ b/spline/spline-widget.cpp
@@ -270,8 +270,8 @@ void spline_widget::paintEvent(QPaintEvent *e)
QPainter p(this);
const double dpr = devicePixelRatioF();
- const int W = int(width() * dpr + .75);
- const int H = int(height() * dpr + .75);
+ const int W = int(width() * dpr);
+ const int H = int(height() * dpr);
if (_background.size() != QSize(W, H))
{