platforms/drm: Remove DrmBackend::findOutput()
It's unused.
This commit is contained in:
parent
54a034b7cf
commit
03c38e02e9
2 changed files with 0 additions and 12 deletions
|
@ -470,17 +470,6 @@ void DrmBackend::enableOutput(DrmOutput *output, bool enable)
|
|||
emit screensQueried();
|
||||
}
|
||||
|
||||
DrmOutput *DrmBackend::findOutput(quint32 connector)
|
||||
{
|
||||
auto it = std::find_if(m_outputs.constBegin(), m_outputs.constEnd(), [connector] (DrmOutput *o) {
|
||||
return o->m_conn->id() == connector;
|
||||
});
|
||||
if (it != m_outputs.constEnd()) {
|
||||
return *it;
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void DrmBackend::initCursor()
|
||||
{
|
||||
|
||||
|
|
|
@ -92,7 +92,6 @@ private:
|
|||
void readOutputsConfiguration();
|
||||
void writeOutputsConfiguration();
|
||||
QString generateOutputConfigurationUuid() const;
|
||||
DrmOutput *findOutput(quint32 connector);
|
||||
void updateOutputsEnabled();
|
||||
void handleUdevEvent();
|
||||
DrmGpu *addGpu(std::unique_ptr<UdevDevice> device);
|
||||
|
|
Loading…
Reference in a new issue