From 12f72db1853fba9d28ac578d2fcf1a36d37e8a45 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Fri, 9 Jul 2021 15:16:09 +0200 Subject: [PATCH] QColorTrcLut: don't inherit from QEnableSharedFromThis None of the member functions use sharedFromThis(). Change-Id: I4d1fc0c3c18830df231833ce0ef631e1bb1fc27e Reviewed-by: Allan Sandfeld Jensen --- src/gui/painting/qcolortrclut_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/painting/qcolortrclut_p.h b/src/gui/painting/qcolortrclut_p.h index 76a6a60803..1f75a2b4f0 100644 --- a/src/gui/painting/qcolortrclut_p.h +++ b/src/gui/painting/qcolortrclut_p.h @@ -69,7 +69,7 @@ QT_BEGIN_NAMESPACE class QColorTransferFunction; class QColorTransferTable; -class Q_GUI_EXPORT QColorTrcLut : public QEnableSharedFromThis +class Q_GUI_EXPORT QColorTrcLut { public: static QColorTrcLut *fromGamma(qreal gamma);