<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/desktop-widgets/tab-widgets, branch v4.7.8</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.7.8</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.7.8'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2018-03-19T15:54:31Z</updated>
<entry>
<title>Cleanup: Initialize variable MainTab::lastSelectedDive</title>
<updated>2018-03-19T15:54:31Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-03-15T21:41:59Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8180e494270e3b09f7c52790251a860bb1da66e4'/>
<id>urn:sha1:8180e494270e3b09f7c52790251a860bb1da66e4</id>
<content type='text'>
This variable was read before being set.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: introduce copy_qstring() function</title>
<updated>2018-03-14T11:55:36Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-02-28T22:37:09Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=d1572a8d9574e80955796b8667317c8dbd376081'/>
<id>urn:sha1:d1572a8d9574e80955796b8667317c8dbd376081</id>
<content type='text'>
strdup(qPrintable(s)) and copy_string(qPrintable(s)) were such common
occurrences that they seem worthy of a short helper-function.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: consistently use qPrintable()</title>
<updated>2018-03-14T11:55:36Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-02-25T12:51:41Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b72cc1f31784346884c8552c22f1e4c3c6d5ed1d'/>
<id>urn:sha1:b72cc1f31784346884c8552c22f1e4c3c6d5ed1d</id>
<content type='text'>
Replace constructs of the kind
  s.toUtf8().data(),
  s.toUtf8().constData(),
  s.toLocal8Bit().data(),
  s.toLocal8Bit.constData() or
  qUtf8Printable(s)
by
  qPrintable(s).

This is concise, consistent and - in principle - more performant than
the .data() versions.

Sadly, owing to a suboptimal implementation, qPrintable(s) currently
is a pessimization compared to s.toUtf8().data(). A fix is scheduled for
new Qt versions: https://codereview.qt-project.org/#/c/221331/

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Choose water presets from a qcombobox in planner, custom value possible</title>
<updated>2018-03-02T16:38:22Z</updated>
<author>
<name>Oliver Schwaneberg</name>
<email>oliver.schwaneberg@gmail.com</email>
</author>
<published>2018-02-10T22:28:05Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0ca52f868ebe5def65153970061a1d6132ede3be'/>
<id>urn:sha1:0ca52f868ebe5def65153970061a1d6132ede3be</id>
<content type='text'>
Add a combo box for water types with defaults for fresh water, sea water
and the EN 13319. All values taken from units.h, where EN 13319 was added
beforehand.
Custom values can be entered through a spinbox.
Also changed "Salinity" in TapDiveInformation.ui to "Water type".

Translation required!

Signed-off-by: Oliver Schwaneberg &lt;oliver.schwaneberg@gmail.com&gt;
</content>
</entry>
<entry>
<title>Cleanup: remove two unused macros in tabwidgets/maintab.cpp</title>
<updated>2018-02-26T07:53:12Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2018-02-25T09:51:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8251a6e9803f4a8ea82add49934088689b48e9e4'/>
<id>urn:sha1:8251a6e9803f4a8ea82add49934088689b48e9e4</id>
<content type='text'>
Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Use temperature_t for temperatures in struct stats_t</title>
<updated>2018-02-24T19:45:17Z</updated>
<author>
<name>Stefan Fuchs</name>
<email>sfuchs@gmx.de</email>
</author>
<published>2018-02-18T20:55:57Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=95a23cf4701d4918f866cb5ef1c25a5b2b380096'/>
<id>urn:sha1:95a23cf4701d4918f866cb5ef1c25a5b2b380096</id>
<content type='text'>
Use struct temperature_t for temperatures in struct stats_t and
use get_temperature_string() when printing these temperatures for
statistics and HTML export.

Signed-off-by: Stefan Fuchs &lt;sfuchs@gmx.de&gt;
</content>
</entry>
<entry>
<title>Consistently use the famous l for liters in info tab</title>
<updated>2018-02-18T03:48:50Z</updated>
<author>
<name>Stefan Fuchs</name>
<email>sfuchs@gmx.de</email>
</author>
<published>2018-02-17T19:05:11Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e7ae749d52443d36aa2a71b27ba7093a41e25309'/>
<id>urn:sha1:e7ae749d52443d36aa2a71b27ba7093a41e25309</id>
<content type='text'>
For salinity in info tab change the l character to the famous
Subsurface "ℓ".

Signed-off-by: Stefan Fuchs &lt;sfuchs@gmx.de&gt;
</content>
</entry>
<entry>
<title>Do not remove seconds from duration input field</title>
<updated>2018-02-04T21:40:02Z</updated>
<author>
<name>Oliver Schwaneberg</name>
<email>oliver.schwaneberg@gmail.com</email>
</author>
<published>2018-02-04T19:07:32Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=eb38a641490752578e3dddc7b7959cfd52e0be74'/>
<id>urn:sha1:eb38a641490752578e3dddc7b7959cfd52e0be74</id>
<content type='text'>
This change deals with issue #554.
If you enter a dive duration manually, the cell renderer cuts the seconds
away when the changes are saved. I added the helper "render_seconds_to_string"
as a counterpart to "parseDurationToSeconds". The helper keeps the seconds,
if not null. The rendering of the cell is done at two places in the code,
so I think it is cleaner to add a dedicated method for it.

Signed-off-by: Oliver Schwaneberg &lt;oliver.schwaneberg@gmail.com&gt;
</content>
</entry>
<entry>
<title>desktop: clear tags when hitting new logbook</title>
<updated>2018-01-01T09:26:13Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2018-01-01T07:49:40Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ac505600f31fa23ddf87965caea9313e764456f8'/>
<id>urn:sha1:ac505600f31fa23ddf87965caea9313e764456f8</id>
<content type='text'>
A very simple commit to start 2018. When hitting new logbook from
a currently open logbook, and the current dive has tags filled in,
they stayed around in the UI. Just clear them. Further, delete
an unused variable.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>Fix order of initilization list in MainTab constructor.</title>
<updated>2017-12-20T23:04:30Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2017-12-19T22:05:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1c1ca8c1c7a85938f41efb6b1ae2fa50a7f778a7'/>
<id>urn:sha1:1c1ca8c1c7a85938f41efb6b1ae2fa50a7f778a7</id>
<content type='text'>
Besides being the right thing to do (code reflects reality), it
silences a compiler warning.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
</feed>
