On Thu, Dec 03, 2015 at 10:26:24PM +0000, Sebastian Kügler wrote: > On Thursday, December 03, 2015 14:04:50 Dirk Hohndel wrote: > > > > I knew my fix was too easy > > > > > > You could try hooking up this guy > > > http://doc.qt.io/qt-5/qquickitem.html#geometryChanged > > > > > > > > > > > > to the second part of setDiveId(), so the geometry of the hidden > > > profilewidget gets updated. Not sure if that helps with the race, though, > > > but it could even be tried to force (in render(), checking if the size is > > > still synced, and potentially calling profileWidget->setGeometry(...) > > > first before painting. > > I remember Tomaz telling me to be very very careful what I call from > > within paint. Both for performance issues but also for infinite > > recursions. > > Thinking about it, it would probably be easier to resize the profileWidget > from > that virtual.
You lost me :-) /D _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
