diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-12 15:43:50 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-12 15:48:16 +0200 |
commit | 4c4c783d023cf1bb6a8d7d883bf8d3384f7b7da1 (patch) | |
tree | eb81974538149ce053d923991eaeebe2a2da3d9e /pose-widget/pose-widget.cpp | |
parent | 8cb6d9d0a5aa617d0d9922ea26f0c98df27b5f1e (diff) |
minor fixes only
Diffstat (limited to 'pose-widget/pose-widget.cpp')
-rw-r--r-- | pose-widget/pose-widget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pose-widget/pose-widget.cpp b/pose-widget/pose-widget.cpp index 54278c34..8646df30 100644 --- a/pose-widget/pose-widget.cpp +++ b/pose-widget/pose-widget.cpp @@ -47,7 +47,7 @@ void pose_widget::paintEvent(QPaintEvent* event) xform.with_image_lock([&](const QImage& image) { - p.drawImage(event->rect(), image, offset, offset); + p.drawImage(event->rect(), image, QRect(offset, offset, pose_transform::w, pose_transform::h)); }); } @@ -71,7 +71,7 @@ void pose_transform::run() project_quad_texture(); end: - portable::sleep(9); + portable::sleep(23); } } |