OSDN Git Service

remove unused QPixmapConvolutionFilterPrivate::convoluteAlpha member
authorIvailo Monev <xakepa10@laimg.moc>
Tue, 24 Mar 2020 00:04:57 +0000 (00:04 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Tue, 24 Mar 2020 00:04:57 +0000 (00:04 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/image/qpixmapfilter.cpp

index 89e25ad..928052b 100644 (file)
@@ -196,7 +196,7 @@ QRectF QPixmapFilter::boundingRectFor(const QRectF &rect) const
 class QPixmapConvolutionFilterPrivate : public QPixmapFilterPrivate
 {
 public:
-    QPixmapConvolutionFilterPrivate(): convolutionKernel(0), kernelWidth(0), kernelHeight(0), convoluteAlpha(false) {}
+    QPixmapConvolutionFilterPrivate(): convolutionKernel(0), kernelWidth(0), kernelHeight(0) {}
     ~QPixmapConvolutionFilterPrivate() {
         delete[] convolutionKernel;
     }
@@ -204,7 +204,6 @@ public:
     qreal *convolutionKernel;
     int kernelWidth;
     int kernelHeight;
-    bool convoluteAlpha;
 };
 
 
@@ -219,7 +218,6 @@ QPixmapConvolutionFilter::QPixmapConvolutionFilter(QObject *parent)
     : QPixmapFilter(*new QPixmapConvolutionFilterPrivate, ConvolutionFilter, parent)
 {
     Q_D(QPixmapConvolutionFilter);
-    d->convoluteAlpha = true;
 }
 
 /*!