From 1a902b1decc5946cf3f6343230859a867bc899d0 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Fri, 16 Sep 2022 01:43:08 +0200 Subject: [PATCH] backends/drm: supress warning for disconnected connector It just pollutes the log with useless information --- src/backends/drm/drm_object_connector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/drm/drm_object_connector.cpp b/src/backends/drm/drm_object_connector.cpp index 007d0eab10..f1b3767218 100644 --- a/src/backends/drm/drm_object_connector.cpp +++ b/src/backends/drm/drm_object_connector.cpp @@ -293,7 +293,7 @@ bool DrmConnector::updateProperties() if (!m_edid.isValid()) { qCWarning(KWIN_DRM) << "Couldn't parse EDID for connector" << this; } - } else { + } else if (isConnected()) { qCDebug(KWIN_DRM) << "Could not find edid for connector" << this; }