From a9bbaa83cc3c2e3291786ef7f80e834a3e81ae44 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 19 Jun 2023 13:15:32 +0900 Subject: Drop Qt2's TQSortedList class Signed-off-by: Michele Calgaro --- chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chalk/plugins') diff --git a/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cpp b/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cpp index ed2cf82a..37c0815e 100644 --- a/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cpp +++ b/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cpp @@ -39,7 +39,7 @@ KisPerChannelFilterConfiguration::KisPerChannelFilterConfiguration(int n) : KisFilterConfiguration( "perchannel", 1 ) { - curves = new TQSortedList >[n]; + curves = new TQPtrList >[n]; for(int i=0;i >[nTransfers]; + curves = new TQPtrList >[nTransfers]; while (!curvesNode.isNull()) { TQDomElement curvesElement = curvesNode.toElement(); if (!curvesElement.isNull() && @@ -310,7 +310,7 @@ KisPerChannelConfigWidget::KisPerChannelConfigWidget(TQWidget * parent, KisPaint TQ_CHECK_PTR(l); m_dev = dev; - m_curves = new TQSortedList >[m_dev->colorSpace()->nColorChannels()]; + m_curves = new TQPtrList >[m_dev->colorSpace()->nColorChannels()]; m_activeCh = 0; for(unsigned int ch=0; ch colorSpace()->nColorChannels(); ch++) { -- cgit v1.2.1