<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/qt-ui/profile, branch v4.1.92</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.1.92</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.1.92'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2014-07-23T14:51:22Z</updated>
<entry>
<title>Code cleanup: HeartRate item was doing insane things</title>
<updated>2014-07-23T14:51:22Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2014-07-21T22:32:46Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=607d450cd6d659a99fda9b73870d340a2e16af1f'/>
<id>urn:sha1:607d450cd6d659a99fda9b73870d340a2e16af1f</id>
<content type='text'>
This simplifies so much of the code that we were using to control
the visibility of the HeartRate. now things are much saner.

Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Animation speed is a value, not a boolean</title>
<updated>2014-07-23T14:50:03Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2014-07-21T22:10:31Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=65eefe7b599575bf401c0adc9c61e42bc56fc4c9'/>
<id>urn:sha1:65eefe7b599575bf401c0adc9c61e42bc56fc4c9</id>
<content type='text'>
This breaks compatibility with old preferences, but it's a single
key and not that very important so I don't think it's a bigger issue
I've renamed prefs.animation to prefs.animation_speed to denote
that it's a value, and not a state.

Also, fixed the places that were treating it as a state (on/off)
to treat it like a correct value.

Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Don't plot pictures in Print mode</title>
<updated>2014-07-23T14:48:22Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2014-07-21T21:54:28Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=82bcb1767c8ca1fdecc2bc40eb3a47fc1bd2a147'/>
<id>urn:sha1:82bcb1767c8ca1fdecc2bc40eb3a47fc1bd2a147</id>
<content type='text'>
The pictures were being plotted in print mode, the main
reason for this was that when we entered print mode and
had already a picture plotted, the method would return
before removing them from the screen. This fixes it.

Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Set visibility in a saner way</title>
<updated>2014-07-23T14:47:27Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2014-07-21T21:23:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5da2e667d0973ec1996aab40810bb2abc4c6bc3a'/>
<id>urn:sha1:5da2e667d0973ec1996aab40810bb2abc4c6bc3a</id>
<content type='text'>
for some reason we did a if(true) setValue(true) else serValue(false)
now we just use the value to set the value. =p

Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Break really long line.</title>
<updated>2014-07-23T14:47:23Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2014-07-21T21:22:44Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=efa05bc0c91a9392e8c19c2959210da61dae795c'/>
<id>urn:sha1:efa05bc0c91a9392e8c19c2959210da61dae795c</id>
<content type='text'>
Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Save / Restore the QPainter before operations.</title>
<updated>2014-07-18T17:14:27Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2014-07-17T23:18:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=d3c0a723b82337fcf2bd0e129d3a6855c90e4825'/>
<id>urn:sha1:d3c0a723b82337fcf2bd0e129d3a6855c90e4825</id>
<content type='text'>
I don't know if this fixes anything, but it is asked of us to
do that by the Qt docs.

Signed-off-by: Tomaz Canabrava &lt;tomaz.canabrava@intel.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Correct usage of current_dive to displayed_dive</title>
<updated>2014-07-18T17:09:42Z</updated>
<author>
<name>Anton Lundin</name>
<email>glance@acc.umu.se</email>
</author>
<published>2014-07-17T17:58:55Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8e5eb71e0b344a68fc6fcfae1ace6fef6605a3d5'/>
<id>urn:sha1:8e5eb71e0b344a68fc6fcfae1ace6fef6605a3d5</id>
<content type='text'>
current_dive is the selected dive, and displayed_dive is the one we are
currently drawing. They are quite often the same one, but not in the
case of adding a dive for example.

This fixes potential null pointer dereferences in the case of a blank
divelist, and makes sure we use the correct data in the case of adding
and planning dives.

Signed-off-by: Anton Lundin &lt;glance@acc.umu.se&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Hide gachange events in the first 30 seconds</title>
<updated>2014-07-17T07:04:44Z</updated>
<author>
<name>Anton Lundin</name>
<email>glance@acc.umu.se</email>
</author>
<published>2014-07-17T06:55:03Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=3b99b03133c06bfa74cf1ceec31ad33293615010'/>
<id>urn:sha1:3b99b03133c06bfa74cf1ceec31ad33293615010</id>
<content type='text'>
Back in 4.0 we hide all gaschange events during the first 30 seconds,
not just gaschange events on second 0. Eg, the OSTC3 emits its gaschange
event on the first sample, which can be 2, 10 or 30 seconds into the
dive.

Signed-off-by: Anton Lundin &lt;glance@acc.umu.se&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Use get_cylinder_index instead of get_gasidx</title>
<updated>2014-07-17T07:04:32Z</updated>
<author>
<name>Anton Lundin</name>
<email>glance@acc.umu.se</email>
</author>
<published>2014-07-17T06:55:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6f8dc22e08cfbbed5670cff6b7b68ec651611d04'/>
<id>urn:sha1:6f8dc22e08cfbbed5670cff6b7b68ec651611d04</id>
<content type='text'>
Replace get_gasmix_from_event and get_gasidx with get_cylinder_index.

get_cylinder_index actually knows about both types of gaschange events
and the difference between them.

Signed-off-by: Anton Lundin &lt;glance@acc.umu.se&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Add missing struct keyword in DivePlotDataModel</title>
<updated>2014-07-17T07:04:24Z</updated>
<author>
<name>Anton Lundin</name>
<email>glance@acc.umu.se</email>
</author>
<published>2014-07-17T06:36:36Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b4679c819fde45e0597873b87cc0ccb1650b70de'/>
<id>urn:sha1:b4679c819fde45e0597873b87cc0ccb1650b70de</id>
<content type='text'>
Signed-off-by: Anton Lundin &lt;glance@acc.umu.se&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
