diff layer/SliceLayer.cpp @ 1382:2df1af7ac752 spectrogramparam

Add oversampling option to spectrum as well
author Chris Cannam
date Wed, 07 Nov 2018 11:37:51 +0000
parents d79e21855aef
children 86f319dd6ab9
line wrap: on
line diff
--- a/layer/SliceLayer.cpp	Tue Nov 06 15:42:35 2018 +0000
+++ b/layer/SliceLayer.cpp	Wed Nov 07 11:37:51 2018 +0000
@@ -368,7 +368,7 @@
         !m_sliceableModel->isReady()) return;
 
     paint.save();
-    paint.setRenderHint(QPainter::Antialiasing, false);
+    paint.setRenderHint(QPainter::Antialiasing, m_plotStyle == PlotLines);
     paint.setBrush(Qt::NoBrush);
 
     if (v->getViewManager() && v->getViewManager()->shouldShowScaleGuides()) {