QBrush: get rid of an unused private function

No idea why it's there, it's unused.

Change-Id: Icf7b48e1e4ab37158a81e15ffa5a7125bfd10822
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
Giuseppe D'Angelo 2021-02-25 12:58:11 +01:00
parent 840c8b4de2
commit cd13ec38a7
2 changed files with 0 additions and 6 deletions

View File

@ -571,11 +571,6 @@ QBrush::~QBrush()
{
}
void QBrush::cleanUp(QBrushData *x)
{
QBrushDataPointerDeleter::deleteData(x);
}
static constexpr inline bool use_same_brushdata(Qt::BrushStyle lhs, Qt::BrushStyle rhs)
{
return lhs == rhs // includes Qt::TexturePattern

View File

@ -116,7 +116,6 @@ private:
void detach(Qt::BrushStyle newStyle);
void init(const QColor &color, Qt::BrushStyle bs);
QScopedPointer<QBrushData, QBrushDataPointerDeleter> d;
void cleanUp(QBrushData *x);
public:
inline bool isDetached() const;