# HG changeset patch # User Chris Cannam # Date 1552052213 0 # Node ID 2f9deb8d3295798ac6c48170cc64f029ec207954 # Parent ba3ddb7fe2bd8135e4264f6541d83656752b082a Add this method back again; it is useful diff -r ba3ddb7fe2bd -r 2f9deb8d3295 base/Event.h --- a/base/Event.h Fri Mar 08 11:54:35 2019 +0000 +++ b/base/Event.h Fri Mar 08 13:36:53 2019 +0000 @@ -112,7 +112,8 @@ p.m_duration = 0; return p; } - + + bool hasLabel() const { return m_label != QString(); } QString getLabel() const { return m_label; } Event withLabel(QString label) const {