diff --git a/src/backends/drm/drm_backend.cpp b/src/backends/drm/drm_backend.cpp index cbed0b781c..dac156a15a 100644 --- a/src/backends/drm/drm_backend.cpp +++ b/src/backends/drm/drm_backend.cpp @@ -341,17 +341,6 @@ void DrmBackend::updateOutputs() } } - std::sort(m_outputs.begin(), m_outputs.end(), [](DrmAbstractOutput *a, DrmAbstractOutput *b) { - auto da = qobject_cast(a); - auto db = qobject_cast(b); - if (da && !db) { - return true; - } else if (da && db) { - return da->pipeline()->connector()->id() < db->pipeline()->connector()->id(); - } else { - return false; - } - }); Q_EMIT screensQueried(); }