<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/qt-models, branch v4.5.2</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.5.2</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.5.2'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2015-10-23T13:48:41Z</updated>
<entry>
<title>Add missing tr() implementations</title>
<updated>2015-10-23T13:48:41Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2015-10-20T12:36:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=604971ca0c83e8d3993aed04261443692122109e'/>
<id>urn:sha1:604971ca0c83e8d3993aed04261443692122109e</id>
<content type='text'>
One specific string did not translate. First, Dirk and I (via IRC)
suspected a leading space was the issue (see commit eccac1321f512d8).
However, I found out that the problem was still there. A non translated
string "%1 shown", when applying a filter on the divelist, and looking at
a trip line. It shows always untranslated "%1 shown". Extracting
to-be-translated strings from the code, I found 2 errors: Class
&lt;classname&gt; lacks Q_OBJECT macro.

This patch adds a missing tr() definition and implementation to 2 structs.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Set a cylinder if the default cylinder is bogus</title>
<updated>2015-10-22T20:57:46Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2015-10-21T12:49:04Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2a977a0fcde76e6d321a4ae66706f7c874dc8fe3'/>
<id>urn:sha1:2a977a0fcde76e6d321a4ae66706f7c874dc8fe3</id>
<content type='text'>
Apparently, it can happen that the default cylinder is not set
even though same_string(prefs.default_cylinder, "") is false.
Then we fall back to the 11.1l air cylinder.

This should silence a warnign about "Too many gases".

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>Fixing annoying compiler warning</title>
<updated>2015-10-22T10:37:50Z</updated>
<author>
<name>Guido Lerch</name>
<email>guido.lerch@gmail.com</email>
</author>
<published>2015-10-21T22:17:05Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f1c682b55a52c11d7cb57da0fc66d6edb118ba77'/>
<id>urn:sha1:f1c682b55a52c11d7cb57da0fc66d6edb118ba77</id>
<content type='text'>
Adding { } to if clause to avoid dangling warning
/Users/guidolerch/src/subsurface/qt-models/cylindermodel.cpp:117:
warning: add explicit braces to avoid dangling else [-Wdangling-else]

[Dirk Hohndel: combined two of Guido's patches to one that is simpler]

Signed-off-by: Guido Lerch &lt;guido.lerch@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Always make sure the planner starts with at least one cylinder</title>
<updated>2015-10-20T08:11:04Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2015-10-20T07:56:01Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=27f706064fe287f5e8b941fae57f6dcf44122b34'/>
<id>urn:sha1:27f706064fe287f5e8b941fae57f6dcf44122b34</id>
<content type='text'>
void DivePlannerPointsModel::setupCylinders() in diveplannermodel.cpp
handles setting up cylinders for the planner. If there is a current
dive, cylinders form that dive are copied. Otherwise the default
cylinder is added and lacking that a standard size cylinder.

If the current dive does not have any cylinders, we could end up
without cylinders. This patch adds a test for this case and delegates
to the other two sources of a cylinder in that case.

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>Show correct icon when only one gasmix in the list</title>
<updated>2015-10-19T18:45:12Z</updated>
<author>
<name>Joakim Bygdell</name>
<email>j.bygdell@gmail.com</email>
</author>
<published>2015-10-19T18:05:24Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0c9d71234fd49e1924124e8898604d087b21792e'/>
<id>urn:sha1:0c9d71234fd49e1924124e8898604d087b21792e</id>
<content type='text'>
When there is only one gasmix in the list we should show the icon that tells the
user that they can't remove the last gasmix from the list.

Signed-off-by: Joakim Bygdell &lt;j.bygdell@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Display day number in trips longer than 1 day</title>
<updated>2015-10-19T00:37:49Z</updated>
<author>
<name>Giorgio Marzano</name>
<email>marzano.giorgio@gmail.com</email>
</author>
<published>2015-10-06T19:08:27Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=45b1d0d73db6e2116c6de7113feed381dcc5875f'/>
<id>urn:sha1:45b1d0d73db6e2116c6de7113feed381dcc5875f</id>
<content type='text'>
Signed-off-by: Giorgio Marzano &lt;marzano.giorgio@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Do not show lack of coordinates as having same gps information</title>
<updated>2015-10-09T17:50:51Z</updated>
<author>
<name>Tomaz Canabrava</name>
<email>tomaz.canabrava@intel.com</email>
</author>
<published>2015-10-09T17:33:31Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=d611d97406b538eac9ce0df81caee5c6a6ca6b8e'/>
<id>urn:sha1:d611d97406b538eac9ce0df81caee5c6a6ca6b8e</id>
<content type='text'>
The filter that takes care to show the dive sites that have the
same gps information should not take into account dives that have
no gps information.

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>Fix a crash when editing manually added dive</title>
<updated>2015-10-08T23:42:27Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2015-10-08T15:59:37Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=c0ac73a478c5407467019d61ed2536bef90edd62'/>
<id>urn:sha1:c0ac73a478c5407467019d61ed2536bef90edd62</id>
<content type='text'>
I have manually added dives from an ancient version of Subsurface.
Trying to edit these caused Subsurface to crash due to comparison of
string of dc.model that did not exist (to a static string). And further
down the execution path we were crashing as there were no samples
associated with the dive.

See #941

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>Deal with weird transifex issue involving leading space</title>
<updated>2015-10-08T09:05:06Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-10-08T09:02:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=eccac1321f512d820ac25aa89f6f7cce50fdd6df'/>
<id>urn:sha1:eccac1321f512d820ac25aa89f6f7cce50fdd6df</id>
<content type='text'>
Apparently transifex drops the leading space in the translation string and
then at runtime the string no longer matches. So let's just code this
differently.

This of course creates a new string but that new string should be the
string that transifex already asks people to translate...

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Make logical block match indentation</title>
<updated>2015-10-03T13:47:37Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-10-03T13:47:37Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=58fbee7150b021671d5dee70ee968fb1d42f8902'/>
<id>urn:sha1:58fbee7150b021671d5dee70ee968fb1d42f8902</id>
<content type='text'>
Coverity CID 1325519

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