diff --git a/src/backends/drm/drm_backend.cpp b/src/backends/drm/drm_backend.cpp index 5680b57c6b..03fc72cc02 100644 --- a/src/backends/drm/drm_backend.cpp +++ b/src/backends/drm/drm_backend.cpp @@ -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); } } diff --git a/src/backends/drm/drm_gpu.cpp b/src/backends/drm/drm_gpu.cpp index faf5898480..1d946efcd1 100644 --- a/src/backends/drm/drm_gpu.cpp +++ b/src/backends/drm/drm_gpu.cpp @@ -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; } diff --git a/src/backends/drm/drm_gpu.h b/src/backends/drm/drm_gpu.h index 3e100f9262..53ea0229d1 100644 --- a/src/backends/drm/drm_gpu.h +++ b/src/backends/drm/drm_gpu.h @@ -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();