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;
|
||||
}
|
||||
|
||||
QRectF SurfacePixmap::contentsRect() const
|
||||
{
|
||||
return m_contentsRect;
|
||||
}
|
||||
|
||||
bool SurfacePixmap::isDiscarded() const
|
||||
{
|
||||
return m_isDiscarded;
|
||||
|
|
|
@ -80,7 +80,6 @@ public:
|
|||
|
||||
bool hasAlphaChannel() const;
|
||||
QSize size() const;
|
||||
QRectF contentsRect() const;
|
||||
|
||||
bool isDiscarded() const;
|
||||
void markAsDiscarded();
|
||||
|
@ -92,7 +91,6 @@ public:
|
|||
|
||||
protected:
|
||||
QSize m_size;
|
||||
QRectF m_contentsRect;
|
||||
bool m_hasAlphaChannel = false;
|
||||
|
||||
private:
|
||||
|
|
|
@ -239,7 +239,6 @@ void SurfacePixmapX11::create()
|
|||
// 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
|
||||
m_size = bufferGeometry.size().toSize();
|
||||
m_contentsRect = QRectF(window->clientPos(), window->clientSize());
|
||||
}
|
||||
|
||||
} // namespace KWin
|
||||
|
|
Loading…
Reference in a new issue