changeset 1621:cf5196881e3e single-point

Merge
author Chris Cannam
date Fri, 08 Mar 2019 13:37:08 +0000
parents 2f9deb8d3295 (diff) f594fd249473 (current diff)
children 172bd3374adf
files
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/base/Event.h	Fri Mar 08 12:59:32 2019 +0000
+++ b/base/Event.h	Fri Mar 08 13:37:08 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 {