Commit 0a7661c9 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

backends/drm: Remove DrmGpu::{outputEnabled,outputDisabled}

They are unused.
parent 8ce8d9a3
Pipeline #207401 passed with stage
in 12 minutes and 46 seconds
......@@ -525,7 +525,6 @@ void DrmBackend::enableOutput(DrmAbstractOutput *output, bool enable)
}
if (enable) {
m_enabledOutputs << output;
Q_EMIT output->gpu()->outputEnabled(output);
Q_EMIT outputEnabled(output);
checkOutputsAreOn();
if (m_placeHolderOutput) {
......@@ -544,7 +543,6 @@ void DrmBackend::enableOutput(DrmAbstractOutput *output, bool enable)
input()->prependInputEventFilter(m_placeholderFilter.get());
}
m_enabledOutputs.removeOne(output);
Q_EMIT output->gpu()->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);
output->setScale(scale);
m_outputs << output;
Q_EMIT outputEnabled(output);
Q_EMIT outputAdded(output);
return output;
}
......
......@@ -87,8 +87,6 @@ public:
Q_SIGNALS:
void outputAdded(DrmAbstractOutput *output);
void outputRemoved(DrmAbstractOutput *output);
void outputEnabled(DrmAbstractOutput *output);
void outputDisabled(DrmAbstractOutput *output);
private:
void dispatchEvents();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment