<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/desktop-widgets/preferences, branch v5.0.2</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v5.0.2</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v5.0.2'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2021-01-19T20:34:46Z</updated>
<entry>
<title>mobile: add GF fields for ceiling calculation</title>
<updated>2021-01-19T20:34:46Z</updated>
<author>
<name>Doug Junkins</name>
<email>douglas.junkins@gmail.com</email>
</author>
<published>2021-01-19T15:50:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=31e26fd14451c84ef4531aaa3b643b10b529a637'/>
<id>urn:sha1:31e26fd14451c84ef4531aaa3b643b10b529a637</id>
<content type='text'>
Adds fields to the advanced preferences page to modify GFLow and GFHigh for
the Buhlmann decompression model for calculating ceilings. Updated preferences
code to set the Buhlmann parameters in core/deco.c when the GF prefs are
updated.

Signed-off-by: Doug Junkins &lt;douglas.junkins@gmail.com&gt;
</content>
</entry>
<entry>
<title>cleanup: remove getDivesInTrip() in qthelper.cpp</title>
<updated>2020-12-29T16:34:09Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-12-28T13:30:57Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=bbbd4c88180d43604c5e6bbe093461e93859d706'/>
<id>urn:sha1:bbbd4c88180d43604c5e6bbe093461e93859d706</id>
<content type='text'>
This function was not used anywhere. Moreover, remove a few
unused includes from qthelper.h. Surprisingly, a number of users
of qthelper.h depend on these, so readd them at the appropriate
places.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>prefs: add option to display only actually used tanks</title>
<updated>2020-12-13T19:49:59Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-12-11T22:55:18Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=296a391faa1625350b5561d8ce17f5dc8a38300c'/>
<id>urn:sha1:296a391faa1625350b5561d8ce17f5dc8a38300c</id>
<content type='text'>
A user complained about the default cylinders list. Provide
a preferences option to turn this off.

When changing the preferences, the tank-info model will be
completely rebuilt. Currently, this is a bit crude as this
will be done for any preferences change.

Suggested-by: Adolph Weidanz &lt;weidanz.adolph@gmail.com&gt;
Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>core: keep tank infos in a dynamic table</title>
<updated>2020-12-13T19:49:59Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-12-11T21:34:35Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=50b11024d685129e78c36313b892dbc0e55c654c'/>
<id>urn:sha1:50b11024d685129e78c36313b892dbc0e55c654c</id>
<content type='text'>
The list of known tank types were kept in a fixed size table.
Instead, use a dynamic table with our horrendous table macros.
This is more flexible and sensible.

While doing this, clean up the TankInfoModel, which was leaking
memory.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>preferences: connect() dialog page only once</title>
<updated>2020-12-12T23:52:40Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-11-24T13:10:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=712e4680cae91ca3ca7291bc7f5124d5a3578a4d'/>
<id>urn:sha1:712e4680cae91ca3ca7291bc7f5124d5a3578a4d</id>
<content type='text'>
Weirdly, the settingsChanged() signal of the dialog-pages was
connected() to the settingsChanged() signal of the dialog
every time the settings were accepted. Do it only once
in the constructor.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>preferences: don't remove/add pages in refreshPages()</title>
<updated>2020-12-12T23:52:40Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-11-24T12:54:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0fab09a9901314f5597b16da370d3712ce28c4ae'/>
<id>urn:sha1:0fab09a9901314f5597b16da370d3712ce28c4ae</id>
<content type='text'>
This function was called when opening the preferences dialog
to update all the pages with the current preferences.

For unknown reasons it also removed / readded all the pages.
Remove that code and use the now leaner function when refreshing
the pages.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>preferences: sort pages only once</title>
<updated>2020-12-12T23:52:40Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-11-24T11:55:59Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f3a2ee8082fd5b9e54564b77ac49efdf9444e802'/>
<id>urn:sha1:f3a2ee8082fd5b9e54564b77ac49efdf9444e802</id>
<content type='text'>
After each addition of a page in the constructor, the list was
resorted. This appears pointless. Instead, sort the list only
after all pages were added.

Since the add-page function is now a single line, remove it.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>preferences: create global settingsChanged signal</title>
<updated>2020-12-12T23:52:40Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-11-24T11:50:52Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2d7be7a0e366b562fdff914e92219ab1852cd3c8'/>
<id>urn:sha1:2d7be7a0e366b562fdff914e92219ab1852cd3c8</id>
<content type='text'>
So far, the PreferencesDialog emitted a settingsChanged signal.
This meant that models that listened to that signal had to
conditionally compile out the code for mobile or the connection
had to be made in MainWindow.

Instead, introduce a global signal that does this and move
the connects to the listeners to remove inter-dependencies.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>cleanup: remove unused PreferencesDialog::emitSettingsChanged()</title>
<updated>2020-12-12T23:52:40Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-11-24T11:40:59Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8bbd778c28f52277dbee4a8d7bcb577c61a611f6'/>
<id>urn:sha1:8bbd778c28f52277dbee4a8d7bcb577c61a611f6</id>
<content type='text'>
Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>revert preference settings for title color</title>
<updated>2020-11-04T22:51:55Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-11-04T22:29:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=be3190db8a14fc51d88c65f5359b9b7787acd2a7'/>
<id>urn:sha1:be3190db8a14fc51d88c65f5359b9b7787acd2a7</id>
<content type='text'>
Because of subsequent changes there is no clean way to just revert the changes
introduced in commit 8b36cf1051 ("desktop: offer different colors for info tab
titles"), so this manually removes the parts we don't need anymore.

This also restores a tooltip value that was inadvertantly removed in that
commit.

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