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
parent
e5cdb966bf
commit
4f515815ef
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue