<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/desktop-widgets, branch v4.9.6</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.9.6</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.9.6'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2020-06-13T12:00:05Z</updated>
<entry>
<title>Fix includes for building against Qt-5.15</title>
<updated>2020-06-13T12:00:05Z</updated>
<author>
<name>Gaetan Bisson</name>
<email>bisson@archlinux.org</email>
</author>
<published>2020-06-13T06:50:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=56c6cd06c9ebc67e6c2d230e7283582e5b4c52e2'/>
<id>urn:sha1:56c6cd06c9ebc67e6c2d230e7283582e5b4c52e2</id>
<content type='text'>
Signed-off-by: Gaetan Bisson &lt;bisson@archlinux.org&gt;
</content>
</entry>
<entry>
<title>cleanup: remove QCalendarWidget forward declaration and include</title>
<updated>2020-05-27T20:55:08Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-05-27T19:45:12Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=bed64f20ba9c0984f718ffd65b9975c49c1bc9cc'/>
<id>urn:sha1:bed64f20ba9c0984f718ffd65b9975c49c1bc9cc</id>
<content type='text'>
This is an artifact of code that never came to be.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>cleanup: unglobalize grayImage()</title>
<updated>2020-05-27T20:55:08Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-05-27T17:03:30Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=330b300f220a78cb71e30b898f43c19f41961c8b'/>
<id>urn:sha1:330b300f220a78cb71e30b898f43c19f41961c8b</id>
<content type='text'>
This function was globalized in be462ae1a6 to be used for the calender
widget, but that never came to be. Therefore, for now unglobalize it
until it is needed. That said, there probably is a helper function to
turn pictures into gray-scale.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>cleanup: un-singletonize ShiftTimesDialog</title>
<updated>2020-05-27T16:47:35Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-05-27T12:13:15Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7417f865cd628aa5df78961dc198a9070822ed72'/>
<id>urn:sha1:7417f865cd628aa5df78961dc198a9070822ed72</id>
<content type='text'>
There is no reason that this dialog is a singleton. Since it is modal,
it can be created on demand. Apart from removing superfluous global state,
this simplifies code, because preparing the widget can now be done in
the constructor instead of overriding the showEvent() function.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>cleanup: un-singletonize RenumberDialog</title>
<updated>2020-05-27T16:47:35Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-05-27T12:00:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=25f1bc488f68395390a3a87328b31dfa7deac11c'/>
<id>urn:sha1:25f1bc488f68395390a3a87328b31dfa7deac11c</id>
<content type='text'>
There is no reason that this dialog is a singleton. Since it is modal,
it can be created on demand. This simplifies code, because the mode
(selected-only or all-dives) can be set in the constructor.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>cleanup: whitespace fixes in TabDiveInformation</title>
<updated>2020-05-25T15:33:08Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-05-24T09:59:35Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=891c0e7ec666c97255476260f8058e5bac3b80f8'/>
<id>urn:sha1:891c0e7ec666c97255476260f8058e5bac3b80f8</id>
<content type='text'>
Use C-style function definitions (squirly brackets on new lines) and
remove empty lines at end of file.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>desktop: localize salinity value</title>
<updated>2020-05-25T15:33:08Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-05-24T09:52:01Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2d17edeb40125458313ca078026f933d49356e7f'/>
<id>urn:sha1:2d17edeb40125458313ca078026f933d49356e7f</id>
<content type='text'>
The salinity value was not displayed with localized thousands separators.
E.g. to a user of a German locale the density read as slightly over
1 g/l, when it should be approximately 1000 g/l. For consistency, also
localize that value.

Also localize the CNS and OTU numbers, even though these should
(hopefully!) never come with thousands separators.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>cleanup: create common QDateTime -&gt; timestamp conversion function</title>
<updated>2020-05-22T19:31:06Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-05-22T16:53:25Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8f80129bac29227a03c35940af9d197ef0fa6398'/>
<id>urn:sha1:8f80129bac29227a03c35940af9d197ef0fa6398</id>
<content type='text'>
In analogy to the timestamp -&gt; QDateTime conversion, create a
common function.
1) For symmetry with the opposite conversion.
2) To remove numerous inconsistencies.
3) To remove use of the deprecated QDateTime::toTime_t() function.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>cleanup: move timestampToDateTime() to qthelper.cpp</title>
<updated>2020-05-22T19:31:06Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-05-22T16:02:15Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f63485b444bd8469d24c70f64f3097bed239c7a8'/>
<id>urn:sha1:f63485b444bd8469d24c70f64f3097bed239c7a8</id>
<content type='text'>
Move this function from maintab.cpp to qthelper.cpp. Since the
functionality was used in numerous places, use the helper function
there as well. This removes a number of inconsistencies. For example,
sometime setTimeSpec(Qt::UTC) was called, even though the
QDateTime object was already created with that time spec.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>desktop: update date and time fields if user changes format</title>
<updated>2020-05-22T17:00:43Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2020-05-22T07:49:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=00ff63f186f65df809610d70ca9b132197b6e72d'/>
<id>urn:sha1:00ff63f186f65df809610d70ca9b132197b6e72d</id>
<content type='text'>
This was more painful than expected, because we get the "preferences"
changed signal too early when the user switches to system format.
The correct format is set by the preferences-widget, not the preferences
subsystem.

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