<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/desktop-widgets/tab-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-11T13:58:30Z</updated>
<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>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>Desktop: fix time editing</title>
<updated>2019-06-24T08:32:41Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2019-06-24T04:04:50Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ca496c63aed2ff8c372baefee6a8b7a48402d081'/>
<id>urn:sha1:ca496c63aed2ff8c372baefee6a8b7a48402d081</id>
<content type='text'>
We were shifting in the wrong direction. Which caused the field to be marked as
'edited' again, which meant we shifted the wrong way and twice the distance.
This seems to fix the problem for both date and time editing.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Undo: don't send signals batched by trip</title>
<updated>2019-06-23T18:08:46Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-06-23T07:22:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=27944a52b1c2a1c68ccfe88c4a84d3f74fb8b512'/>
<id>urn:sha1:27944a52b1c2a1c68ccfe88c4a84d3f74fb8b512</id>
<content type='text'>
Since the default view is batched by trips, signals were sent trip-wise.
This seemed like a good idea at first, but when more and more parts used
these signals, it became a burden. Therefore push the batching to the
part of the code where it is needed: the trip view.

The divesAdded and divesDeleted are not yet converted, because these
are combined with trip addition/deletion. This should also be detangled,
but not now.

Since the dive-lists were sorted in the processByTrip function, the
dive-list model now does its own sorting. This will have to be
audited.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: remove unnecessary get_gas_used() call</title>
<updated>2019-06-19T20:11:10Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-06-07T12:05:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=54d6c3f004f27a813f4b0adf48927aca5cb79cd1'/>
<id>urn:sha1:54d6c3f004f27a813f4b0adf48927aca5cb79cd1</id>
<content type='text'>
The result was not used anywhere, so why bother?

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: use quotation marks for non-system includes</title>
<updated>2019-06-19T20:11:10Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-06-07T12:00:16Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5d34103cb989414406cdbef8bc066f20562a5eaf'/>
<id>urn:sha1:5d34103cb989414406cdbef8bc066f20562a5eaf</id>
<content type='text'>
That's common practice, so lets do it that way.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: move trip-related functions into own translation unit</title>
<updated>2019-06-19T20:11:10Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-05-31T14:09:14Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7f4d9db962e73aa5d5089c43c99b78b3690ffb87'/>
<id>urn:sha1:7f4d9db962e73aa5d5089c43c99b78b3690ffb87</id>
<content type='text'>
These functions were spread out over dive.c and divelist.c.
Move them into their own file to make all this a bit less monolithic.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Undo: add undo button to multi-dive-edited warning message</title>
<updated>2019-06-15T18:20:49Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-05-24T19:50:17Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=e329a53aabb3a0728204c27df359cb894c547c91'/>
<id>urn:sha1:e329a53aabb3a0728204c27df359cb894c547c91</id>
<content type='text'>
Simply connect the button the the undo-action and the hide-message
action.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Undo: hide multi-dive-edit warning message on subsequent edit</title>
<updated>2019-06-15T18:20:49Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-05-24T19:38:56Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=a20c22d9072f1a4fcb2b346a934c138df9f14a47'/>
<id>urn:sha1:a20c22d9072f1a4fcb2b346a934c138df9f14a47</id>
<content type='text'>
When a different field is edited, hide any old multi-dive-edit
warning message. The reason is that we might want to add an "undo"
button to the message. But this will undo the wrong command if
we don't hide the message.

Sadly, this means that we can't use animated show / hide, because
an animatedHide() followed immediately by an animatedShow() does
not necessarily show the message. In other words, and animatedShow()
does not interupt a started animatedHide()!?

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>Undo: show warning message if more than one dive edited</title>
<updated>2019-06-15T18:20:49Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2019-05-24T19:11:20Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=944a9aed54b7dfdac606f5503578b46f6c0e8235'/>
<id>urn:sha1:944a9aed54b7dfdac606f5503578b46f6c0e8235</id>
<content type='text'>
On the MainTab, warn if more than one dive was edited. To this purpose,
add a new KMessageWidget with an "OK" button that closes the message.
Code is mostly a copy of the already existing "Editing dive" message.

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