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
remotes/origin/bshah/hwcomposer_testing
David Edmundson 9 years ago
parent adfaac4d60
commit 9a582f6dbe
  1. 8
      plugins/platforms/drm/drm_backend.cpp
  2. 1
      plugins/platforms/drm/drm_backend.h

@ -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)
{
return new DrmScreens(this, parent);

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

Loading…
Cancel
Save