Change EDID parsing qCWarnings to qCDebugs

Avoid polluting the output by default. Unfortunately there are various
systems (modern Fedora with XWayland, VMWare) where parsing will fail
for some not yet known reason. Showing warnings on each and every Qt
application startup is not desirable, especially since not having the
EDID data available is far from being critical.

Change-Id: Ibaca7db4d897e705819f7c359f8de41b9be862a6
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
bb10
Laszlo Agocs 2017-08-03 10:23:23 +02:00 committed by Simon Hausmann
parent e5cdb966bf
commit 4f515815ef
2 changed files with 3 additions and 3 deletions

View File

@ -88,9 +88,9 @@ QEglFSKmsScreen::QEglFSKmsScreen(QKmsDevice *device, const QKmsOutput &output)
m_edid.serialNumber.toLatin1().constData(),
m_edid.physicalSize.width(), m_edid.physicalSize.height());
else
qCWarning(qLcEglfsKmsDebug) << "Failed to parse EDID data for output" << name();
qCDebug(qLcEglfsKmsDebug) << "Failed to parse EDID data for output" << name(); // keep this debug, not warning
} else {
qCWarning(qLcEglfsKmsDebug) << "No EDID data for output" << name();
qCDebug(qLcEglfsKmsDebug) << "No EDID data for output" << name();
}
}

View File

@ -456,7 +456,7 @@ QXcbScreen::QXcbScreen(QXcbConnection *connection, QXcbVirtualDesktop *virtualDe
m_edid.serialNumber.toLatin1().constData(),
m_edid.physicalSize.width(), m_edid.physicalSize.height());
else
qCWarning(lcQpaScreen) << "Failed to parse EDID data for output" << name();
qCDebug(lcQpaScreen) << "Failed to parse EDID data for output" << name(); // keep this debug, not warning
}
QXcbScreen::~QXcbScreen()