backends/drm: Remove DrmGpu::{outputEnabled,outputDisabled}
They are unused.
This commit is contained in:
parent
8ce8d9a330
commit
0a7661c9df
3 changed files with 0 additions and 5 deletions
|
@ -525,7 +525,6 @@ void DrmBackend::enableOutput(DrmAbstractOutput *output, bool enable)
|
||||||
}
|
}
|
||||||
if (enable) {
|
if (enable) {
|
||||||
m_enabledOutputs << output;
|
m_enabledOutputs << output;
|
||||||
Q_EMIT output->gpu()->outputEnabled(output);
|
|
||||||
Q_EMIT outputEnabled(output);
|
Q_EMIT outputEnabled(output);
|
||||||
checkOutputsAreOn();
|
checkOutputsAreOn();
|
||||||
if (m_placeHolderOutput) {
|
if (m_placeHolderOutput) {
|
||||||
|
@ -544,7 +543,6 @@ void DrmBackend::enableOutput(DrmAbstractOutput *output, bool enable)
|
||||||
input()->prependInputEventFilter(m_placeholderFilter.get());
|
input()->prependInputEventFilter(m_placeholderFilter.get());
|
||||||
}
|
}
|
||||||
m_enabledOutputs.removeOne(output);
|
m_enabledOutputs.removeOne(output);
|
||||||
Q_EMIT output->gpu()->outputDisabled(output);
|
|
||||||
Q_EMIT outputDisabled(output);
|
Q_EMIT outputDisabled(output);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -598,7 +598,6 @@ DrmVirtualOutput *DrmGpu::createVirtualOutput(const QString &name, const QSize &
|
||||||
auto output = new DrmVirtualOutput(name, this, size, type);
|
auto output = new DrmVirtualOutput(name, this, size, type);
|
||||||
output->setScale(scale);
|
output->setScale(scale);
|
||||||
m_outputs << output;
|
m_outputs << output;
|
||||||
Q_EMIT outputEnabled(output);
|
|
||||||
Q_EMIT outputAdded(output);
|
Q_EMIT outputAdded(output);
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
|
@ -87,8 +87,6 @@ public:
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void outputAdded(DrmAbstractOutput *output);
|
void outputAdded(DrmAbstractOutput *output);
|
||||||
void outputRemoved(DrmAbstractOutput *output);
|
void outputRemoved(DrmAbstractOutput *output);
|
||||||
void outputEnabled(DrmAbstractOutput *output);
|
|
||||||
void outputDisabled(DrmAbstractOutput *output);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void dispatchEvents();
|
void dispatchEvents();
|
||||||
|
|
Loading…
Reference in a new issue