Infobox math broken in current master

Robert Helling helling at
Mon Jan 20 01:29:34 UTC 2014

On 20.01.2014, at 10:03, Robert Helling <helling at> wrote:

> Good morning,
> a brief look at the screenshot on
> shows there is something wrong with the deco math in latest master….
> This must be an initialization issue as it goes away after switching to profile only view and stays ok even when switching back to view all.
> And yes, selecting the new profile still crashes here.

Let me add two observations: The wrong numbers in the info box go away if I start the program as


rather than running the binary inside directly. However in that case the info box is just frozen and doesn’t update anymore when moving the mouse.

But probably more important: The freezing of the info box and the crash go away once I comment out line 178 of diveprofileitem.cpp as

void DiveTemperatureItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget)
	//	painter->drawPolyline(polygon());


Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics
                      Scientific Coordinator
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik
                      Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339

Enhance your privacy, use cryptography! My PGP keys have fingerprints
A9D1 A01D 13A5 31FA 6515  BB44 0820 367C 36BC 0C1D    and
DCED 37B6 251C 7861 270D  5613 95C7 9D32 9A8D 9B8F

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <>

More information about the subsurface mailing list