summaryrefslogtreecommitdiffhomepage
path: root/pose-widget/pose-widget.hpp
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.hpp
parenta6d29f0200096c6be6099427c121e2ba6768125a (diff)
pose-widget: kill sizeHint()
This doesn't work properly on complex layouts.
Diffstat (limited to 'pose-widget/pose-widget.hpp')
-rw-r--r--pose-widget/pose-widget.hpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/pose-widget/pose-widget.hpp b/pose-widget/pose-widget.hpp
index a866f958..fb62f849 100644
--- a/pose-widget/pose-widget.hpp
+++ b/pose-widget/pose-widget.hpp
@@ -26,7 +26,6 @@ struct OTR_POSE_WIDGET_EXPORT pose_widget final : QWidget
public:
pose_widget(QWidget *parent = nullptr);
void present(double xAngle, double yAngle, double zAngle, double x, double y, double z);
- QSize sizeHint() const override;
QCheckBox mirror{"Mirror", this};
private:
void resizeEvent(QResizeEvent *event) override;