summaryrefslogtreecommitdiffhomepage
path: root/pose-widget/pose-widget.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-12-19 18:21:17 +0100
committerStanislaw Halik <sthalik@misaki.pl>2021-12-19 18:21:17 +0100
commit64b5d204129fe7f7cc47959bffcf2428bbd741c2 (patch)
treec6f2e5fe130cd06ce48efdd6b4e4617eb3c807e4 /pose-widget/pose-widget.cpp
parenta6d29f0200096c6be6099427c121e2ba6768125a (diff)
pose-widget: kill sizeHint()
This doesn't work properly on complex layouts.
Diffstat (limited to 'pose-widget/pose-widget.cpp')
-rw-r--r--pose-widget/pose-widget.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/pose-widget/pose-widget.cpp b/pose-widget/pose-widget.cpp
index a7a8cd4c..ac3aa74a 100644
--- a/pose-widget/pose-widget.cpp
+++ b/pose-widget/pose-widget.cpp
@@ -136,9 +136,4 @@ void pose_widget::paintEvent(QPaintEvent*)
p.drawImage(QPointF(0,0), forward == (alpha >= 0.0) ? shine : shadow);
}
-QSize pose_widget::sizeHint() const
-{
- return { 1 << 16, 1 << 16 };
-}
-
} // ns pose_widget_impl