<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/desktop-widgets, branch v4.9.0</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.9.0</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.9.0'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2019-07-13T16:38:40Z</updated>
<entry>
<title>Fixed filter scrollarea not adjusting to parent height</title>
<updated>2019-07-13T16:38:40Z</updated>
<author>
<name>Doug Junkins</name>
<email>junkins@foghead.com</email>
</author>
<published>2019-07-12T23:49:11Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0fb4ac760244ca71e2a7be3d781ca4512b365db2'/>
<id>urn:sha1:0fb4ac760244ca71e2a7be3d781ca4512b365db2</id>
<content type='text'>
Changed the Qt Layout for FilterWidget2 to "Lay Out on a Grid" to
allow the scrollarea to adjust when the height of FilterWidget2
changes. Fixes issues #2174.

Signed-off-by: Doug Junkins &lt;junkins@foghead.com&gt;
</content>
</entry>
<entry>
<title>Desktop: clear notes on empty dive</title>
<updated>2019-07-11T13:58:30Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-07-10T21:13:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5886550434e2c2e3c77880a4ee08f9d192d6984a'/>
<id>urn:sha1:5886550434e2c2e3c77880a4ee08f9d192d6984a</id>
<content type='text'>
If no dive is set, all fields except the note field were cleared.
Also clear notes.

Fixes #2172

Reported-by: Anton Lundin &lt;glance@acc.umu.se&gt;
Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Preferences: warn if ffmpeg can't be loaded</title>
<updated>2019-07-10T15:24:23Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-07-05T19:41:21Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=66a5b394d762a1a24723438fca3ce3aea27e43ad'/>
<id>urn:sha1:66a5b394d762a1a24723438fca3ce3aea27e43ad</id>
<content type='text'>
In the preferences widget warn the user when they enter a non-executable
path to ffmpeg. Thus they don't have to start thumbnailing just to
find out that the path is wrong.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Desktop: update BT selection when picking remembered dive computer</title>
<updated>2019-07-09T19:41:04Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2019-07-04T04:49:37Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=25bee36fcc06f52761f07ec3957c9a8663c6b39e'/>
<id>urn:sha1:25bee36fcc06f52761f07ec3957c9a8663c6b39e</id>
<content type='text'>
When switching to a BT dive computer, the device selection dialog is opened,
when switching away from BT, the device address is set.

Fixes #2139

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Desktop: reduce minimum vertical size</title>
<updated>2019-07-04T08:21:23Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2019-07-04T02:55:45Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=774e9ae143d2b790a28be541ab0d99925ba1e281'/>
<id>urn:sha1:774e9ae143d2b790a28be541ab0d99925ba1e281</id>
<content type='text'>
The Filter widget really needed to be scrollable as it is very tall.

Fixes #2152

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Cleanup: remove DiveLocationLineEdit::currType</title>
<updated>2019-07-04T01:41:09Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-06-30T21:18:12Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=09163c1ee7dc469d44cdf4631b51579e607be6f2'/>
<id>urn:sha1:09163c1ee7dc469d44cdf4631b51579e607be6f2</id>
<content type='text'>
Apparently this field was never used...?

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Desktop: enable clearing of dive site</title>
<updated>2019-07-04T01:41:09Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-06-30T21:08:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=02e94de062dc2c776ee37e8f642f0ec0ae8ad9e7'/>
<id>urn:sha1:02e94de062dc2c776ee37e8f642f0ec0ae8ad9e7</id>
<content type='text'>
Clearing dive site did not work for two reasons:
1) We didn't get a signal when editing was finished.
2) When clearing the dive site, the "add new dive site" site was set.

Thus, connect to the editingFinished signal and in
DiveLocationLineEdit::currDiveSite() return a null pointer if
the string is empty.

This means that it is not possible to have a dive site with an
empty string, but that shouldn't be a problem, right?

Fixes #2148

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: avoid spurious updateDiveInfo() calls</title>
<updated>2019-07-04T01:40:47Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-07-03T18:51:24Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=57c22d3dcc221caad66f12bb01a278c33dca0ab3'/>
<id>urn:sha1:57c22d3dcc221caad66f12bb01a278c33dca0ab3</id>
<content type='text'>
In 2e230da3610dd1fc61badaf328a084512895fb90 the dive-selection signals
were unified. Sadly, this was done in a suboptimal way resulting in
numerous calls to updateDiveInfo(), which refreshes the main-tab.

Firstly, the MainWindow connected to selection changes from both,
the undo-command and the divelist. Secondly, every selected dive
in the divelist caused a single signal.

Thus, connect only to the divelist (this is necessary for user-initiated
selection changes) and only send a single signal in the divelist
per selection-reset.

This is still less than perfect as updateDiveInfo() is called even
if the current dive doesn't change.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Dive merge: don't use unset dive numbers</title>
<updated>2019-06-28T11:23:01Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-06-23T19:36:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=019eeec93d3399a2e277ff9399320764043e38c1'/>
<id>urn:sha1:019eeec93d3399a2e277ff9399320764043e38c1</id>
<content type='text'>
On merging, don't use the number of the first dive if it is 0.
Use the first non-zero number.

Fixes #2126

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Desktop: small optimization</title>
<updated>2019-06-24T11:01:25Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2019-06-24T08:52:06Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=bc4c8d7d7484b0cd9672660869238899246159c1'/>
<id>urn:sha1:bc4c8d7d7484b0cd9672660869238899246159c1</id>
<content type='text'>
This way we don't need to iteratively grow the QVector.

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