diff view/View.h @ 771:a964151832a7

Merge from branch tony_integration
author Chris Cannam
date Wed, 14 May 2014 09:54:34 +0100
parents 56ba2b03508e
children 9fd1bdf214dd 4c8ca536b54f
line wrap: on
line diff
--- a/view/View.h	Sat Apr 12 01:07:05 2014 -0700
+++ b/view/View.h	Wed May 14 09:54:34 2014 +0100
@@ -200,6 +200,9 @@
     virtual void drawMeasurementRect(QPainter &p, const Layer *,
                                      QRect rect, bool focus) const;
 
+    virtual bool shouldShowFeatureLabels() const {
+        return m_manager && m_manager->shouldShowFeatureLabels();
+    }
     virtual bool shouldIlluminateLocalFeatures(const Layer *, QPoint &) const {
 	return false;
     }