Drop SurfacePixmap::contentsRect()
It's unused.
This commit is contained in:
parent
64a6a70b3e
commit
5e04977d31
3 changed files with 0 additions and 8 deletions
|
@ -193,11 +193,6 @@ QSize SurfacePixmap::size() const
|
||||||
return m_size;
|
return m_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
QRectF SurfacePixmap::contentsRect() const
|
|
||||||
{
|
|
||||||
return m_contentsRect;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool SurfacePixmap::isDiscarded() const
|
bool SurfacePixmap::isDiscarded() const
|
||||||
{
|
{
|
||||||
return m_isDiscarded;
|
return m_isDiscarded;
|
||||||
|
|
|
@ -80,7 +80,6 @@ public:
|
||||||
|
|
||||||
bool hasAlphaChannel() const;
|
bool hasAlphaChannel() const;
|
||||||
QSize size() const;
|
QSize size() const;
|
||||||
QRectF contentsRect() const;
|
|
||||||
|
|
||||||
bool isDiscarded() const;
|
bool isDiscarded() const;
|
||||||
void markAsDiscarded();
|
void markAsDiscarded();
|
||||||
|
@ -92,7 +91,6 @@ public:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
QSize m_size;
|
QSize m_size;
|
||||||
QRectF m_contentsRect;
|
|
||||||
bool m_hasAlphaChannel = false;
|
bool m_hasAlphaChannel = false;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -239,7 +239,6 @@ void SurfacePixmapX11::create()
|
||||||
// this class is only used on X11 where the logical size and
|
// this class is only used on X11 where the logical size and
|
||||||
// device pixel size is guaranteed to be the same and we can convert safely
|
// device pixel size is guaranteed to be the same and we can convert safely
|
||||||
m_size = bufferGeometry.size().toSize();
|
m_size = bufferGeometry.size().toSize();
|
||||||
m_contentsRect = QRectF(window->clientPos(), window->clientSize());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace KWin
|
} // namespace KWin
|
||||||
|
|
Loading…
Reference in a new issue