summaryrefslogtreecommitdiffhomepage
path: root/pose-widget/pose-widget.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-09-22 13:37:56 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-09-22 13:37:56 +0200
commit4063f006285db0473046bde645f236c814460eb0 (patch)
treee15b89825839f1f8bcc779bb63b38f7237c7d9f7 /pose-widget/pose-widget.cpp
parente13c17f2436e12c3942c921e6764f6ade28887bf (diff)
pose-widget: fix widget not expanding
Diffstat (limited to 'pose-widget/pose-widget.cpp')
-rw-r--r--pose-widget/pose-widget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/pose-widget/pose-widget.cpp b/pose-widget/pose-widget.cpp
index 35b21bfc..340e05d4 100644
--- a/pose-widget/pose-widget.cpp
+++ b/pose-widget/pose-widget.cpp
@@ -64,5 +64,9 @@ void pose_widget::paintEvent(QPaintEvent*)
p.drawImage(rect(), img);
}
+QSize pose_widget::sizeHint() const
+{
+ return { 1 << 16, 1 << 16 };
+}
} // ns pose_widget_impl