changeset 1620:2f9deb8d3295 single-point

Add this method back again; it is useful
author Chris Cannam
date Fri, 08 Mar 2019 13:36:53 +0000
parents ba3ddb7fe2bd
children cf5196881e3e
files base/Event.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 {