mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: indicate bookmark by pole of flag
The event-icons are positioned according to the top-left corner (as is usual in computer circles). For the flag icon it seems more natural to use the bottom of the pole. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
9740651e01
commit
9c7974928b
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ void DiveEventItem::setupPixmap(struct gasmix lastgasmix, const DivePixmaps &pix
|
|||
setPixmap(pixmaps.onCCRLoop);
|
||||
} else if (ev->type == SAMPLE_EVENT_BOOKMARK) {
|
||||
setPixmap(pixmaps.bookmark);
|
||||
setOffset(QPointF(0.0, -pixmap().height()));
|
||||
} else if (event_is_gaschange(ev)) {
|
||||
struct gasmix mix = get_gasmix_from_event(dive, ev);
|
||||
struct icd_data icd_data;
|
||||
|
|
Loading…
Add table
Reference in a new issue