Infobox math broken in current master
Robert Helling
helling at lmu.de
Mon Jan 20 01:29:34 UTC 2014
On 20.01.2014, at 10:03, Robert Helling <helling at lmu.de> wrote:
> Good morning,
>
> a brief look at the screenshot on
>
> https://www.dropbox.com/s/p23f4hq7r9xastq/Screenshot%202014-01-20%2010.00.31.png
>
> 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
open Subsurface.app
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->setPen(pen());
// painter->drawPolyline(polygon());
}
Best
Robert
--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
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
http://www.atdotde.de
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: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140120/12dde397/attachment-0001.sig>
More information about the subsurface
mailing list