<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/qt-ui/profile, branch v4.4.97</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.4.97</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.4.97'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2015-08-21T17:16:06Z</updated>
<entry>
<title>Display error messages in planner</title>
<updated>2015-08-21T17:16:06Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2015-08-21T15:53:13Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=3437666010c3c9c725644e5d789cbb0faa3794c2'/>
<id>urn:sha1:3437666010c3c9c725644e5d789cbb0faa3794c2</id>
<content type='text'>
After a replot, check if there is an error message to display.

Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Printing: hide warnings in dive profile while printing</title>
<updated>2015-08-15T12:02:10Z</updated>
<author>
<name>Gehad elrobey</name>
<email>gehadelrobey@gmail.com</email>
</author>
<published>2015-08-03T20:55:46Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=88c19adc7880d21aed4fa0e498d0291c5fd9f9d4'/>
<id>urn:sha1:88c19adc7880d21aed4fa0e498d0291c5fd9f9d4</id>
<content type='text'>
While printing only draw headings, SP changes, gas events or bookmark
events, otherwise don't show anything.

Many warning logos can hide the useful information especially in
templates with small dive profile area.

Signed-off-by: Lubomir I. Ivanov &lt;neolit123@gmail.com&gt;
Signed-off-by: Gehad elrobey &lt;gehadelrobey@gmail.com&gt;
</content>
</entry>
<entry>
<title>Update the text if DC changes</title>
<updated>2015-08-10T06:55:27Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2015-08-05T16:01:50Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1f4267d0938e8a7347300d7ad258cb439ceddcfc'/>
<id>urn:sha1:1f4267d0938e8a7347300d7ad258cb439ceddcfc</id>
<content type='text'>
When switching from one DC to the next, the text of DC name is not updated due
to commit 487ddce3531f6b738affc84edf066bd0ea4a16bb. This patch re-inserts the
call to updateText() for the specific function to get the DC name updated
properly.

Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Don't connect to the MainWindow</title>
<updated>2015-07-29T19:21:27Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-07-29T19:21:27Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=64aace63f0a8478be6538e87fecd574f8cc29e86'/>
<id>urn:sha1:64aace63f0a8478be6538e87fecd574f8cc29e86</id>
<content type='text'>
We really shouldn't need to connect to the MainWindow in order to get the
right scale for the fonts when printing. While printing likely will remain
a desktop only function, this is just bad design. And making calls like
this from the paint() function is a bad plan, anyway.

So instead we make sure that every DiveTextItem knows what the printScale
was when it was created (or actually, when the text was first set as they
frequently get created before we have a scene which we use to get to the
profile), and gets updated whenever that scale changes.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Profile: make sure text is scaled correctly when drawn</title>
<updated>2015-07-29T17:59:28Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-07-29T17:57:05Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=487ddce3531f6b738affc84edf066bd0ea4a16bb'/>
<id>urn:sha1:487ddce3531f6b738affc84edf066bd0ea4a16bb</id>
<content type='text'>
We had all this wonderful code to scale the text correctly, except we went
out of our way to make sure the code wouldn't be called unless something
changed on this specific text item. But that's bogus because the scaling
depends on external factors like the fontPrintScale.

So instead of calling updateText() when attributes of this DiveTextItem
change simply call it right before the DiveTextItem gets painted.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Make gradient factor text an independent item on the profile</title>
<updated>2015-07-29T17:31:34Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-07-29T17:31:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ccaff3a06da9c638cd1088329e10944320e1f66e'/>
<id>urn:sha1:ccaff3a06da9c638cd1088329e10944320e1f66e</id>
<content type='text'>
Having it as part of the DiveCalculatedCeiling class caused us to manage
this text 17 times (and plotting it 17 times) which is rather silly.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Address of array is always non-NULL</title>
<updated>2015-06-22T17:57:56Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-06-22T13:44:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=64c7202e2d265a98130a91bade73f14cf22541e5'/>
<id>urn:sha1:64c7202e2d265a98130a91bade73f14cf22541e5</id>
<content type='text'>
We want to test the string instead.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Address uninitialized member warnings</title>
<updated>2015-06-22T17:57:51Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-06-22T13:42:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1ecc9b0cc0c4e7ad2b03236a788cf875189f1832'/>
<id>urn:sha1:1ecc9b0cc0c4e7ad2b03236a788cf875189f1832</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Prevent unintended integer division</title>
<updated>2015-06-22T05:11:49Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-06-22T05:09:33Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b8b03648739a96b89beab82883afaef199e1db80'/>
<id>urn:sha1:b8b03648739a96b89beab82883afaef199e1db80</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Comparing the address of a member to 0 is pointless</title>
<updated>2015-06-22T05:11:49Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-06-22T05:07:10Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=895d6e0000b824809a19d42aee0955df76af8c86'/>
<id>urn:sha1:895d6e0000b824809a19d42aee0955df76af8c86</id>
<content type='text'>
Or... this code doesn't do what you think it does.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
