Remove unused method

Summary:
This isn't used and if it was would give the wrong value.
Actual correct size can be determined via Screens object.

Test Plan:
Grepped it's not overriding anything
Compiles

Reviewers: #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D3385
This commit is contained in:
David Edmundson 2016-11-16 13:21:27 +00:00
parent adfaac4d60
commit 9a582f6dbe
2 changed files with 0 additions and 9 deletions

View file

@ -664,14 +664,6 @@ void DrmBackend::moveCursor()
} }
} }
QSize DrmBackend::size() const
{
if (m_outputs.isEmpty()) {
return QSize();
}
return m_outputs.first()->size();
}
Screens *DrmBackend::createScreens(QObject *parent) Screens *DrmBackend::createScreens(QObject *parent)
{ {
return new DrmScreens(this, parent); return new DrmScreens(this, parent);

View file

@ -76,7 +76,6 @@ public:
DrmBuffer *createBuffer(gbm_surface *surface); DrmBuffer *createBuffer(gbm_surface *surface);
void present(DrmBuffer *buffer, DrmOutput *output); void present(DrmBuffer *buffer, DrmOutput *output);
QSize size() const;
int fd() const { int fd() const {
return m_fd; return m_fd;
} }