mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: rename eventname.* to eventtype.*
This structure is used to hide events of a certain type. The type was inferred from its name, but now includes flags. So event_type is more appropriate. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
704b26ff1e
commit
7dd52ef494
10 changed files with 94 additions and 95 deletions
|
@ -4,7 +4,7 @@
|
|||
#include "profile-widget/divepixmapcache.h"
|
||||
#include "profile-widget/animationfunctions.h"
|
||||
#include "core/event.h"
|
||||
#include "core/eventname.h"
|
||||
#include "core/eventtype.h"
|
||||
#include "core/format.h"
|
||||
#include "core/profile.h"
|
||||
#include "core/gettextfromc.h"
|
||||
|
@ -226,7 +226,7 @@ bool DiveEventItem::isInteresting(const struct dive *d, const struct divecompute
|
|||
|
||||
bool DiveEventItem::shouldBeHidden()
|
||||
{
|
||||
return is_event_hidden(ev->name, ev->flags);
|
||||
return is_event_type_hidden(ev->name, ev->flags);
|
||||
}
|
||||
|
||||
void DiveEventItem::recalculatePos()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue