Commit 2885e8b1 authored by Halla Rempt's avatar Halla Rempt
Browse files

Remove obsolete overlapMarginNeeded methods

parent 256d0dce
......@@ -66,11 +66,6 @@ void KisConvolutionFilter::processImpl(KisPaintDeviceSP device,
}
int KisConvolutionFilter::overlapMarginNeeded(const KisFilterConfiguration* /*c*/) const
{
return qMax(m_matrix->width() / 2, m_matrix->height() / 2);
}
void KisConvolutionFilter::setIgnoreAlpha(bool v)
{
m_ignoreAlpha = v;
......
......@@ -36,7 +36,6 @@ public:
const QRect& applyRect,
const KisFilterConfiguration* config,
KoUpdater* progressUpdater) const;
virtual int overlapMarginNeeded(const KisFilterConfiguration* c) const;
protected:
void setIgnoreAlpha(bool v);
......
......@@ -196,9 +196,3 @@ void KisUnsharpFilter::processLightnessOnly(KisPaintDeviceSP device,
dstIt->nextRow();
}
}
int KisUnsharpFilter::overlapMarginNeeded(const KisFilterConfiguration* _config) const
{
QVariant value;
return (_config->getProperty("halfSize", value)) ? value.toUInt() : 5;
}
......@@ -41,7 +41,6 @@ public:
virtual KisConfigWidget * createConfigurationWidget(QWidget* parent, const KisPaintDeviceSP dev) const;
virtual KisFilterConfiguration* factoryConfiguration(const KisPaintDeviceSP) const;
int overlapMarginNeeded(const KisFilterConfiguration* /*c*/) const;
private:
void processLightnessOnly(KisPaintDeviceSP device,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment