From 64b5d204129fe7f7cc47959bffcf2428bbd741c2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 19 Dec 2021 18:21:17 +0100 Subject: pose-widget: kill sizeHint() This doesn't work properly on complex layouts. --- pose-widget/pose-widget.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'pose-widget/pose-widget.cpp') 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 -- cgit v1.2.3