diff base/Event.h @ 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 24dc8cb42755
children 676e32fa403e
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 {