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:
parent
840c8b4de2
commit
cd13ec38a7
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user