From 454f5ecab44e6d6c29e90aa279c48cf2e461b85b Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Thu, 28 Nov 2024 10:48:03 +1000 Subject: [PATCH] Hide 'OpenGL Core Profile was requested' warnings These are coming from WebEngine, we can't do anything about them --- src/app/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/main.cpp b/src/app/main.cpp index fe601dd2360..7bc360acc2d 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -416,7 +416,11 @@ void myMessageOutput( QtMsgType type, const QMessageLogContext &, const QString msg.contains( QLatin1String( "KLocalizedString" ), Qt::CaseInsensitive ) || msg.contains( QLatin1String( "KServiceTypeTrader" ), Qt::CaseInsensitive ) || msg.contains( QLatin1String( "No node found for item that was just removed" ), Qt::CaseInsensitive ) || - msg.contains( QLatin1String( "Audio notification requested" ), Qt::CaseInsensitive ) ) + msg.contains( QLatin1String( "Audio notification requested" ), Qt::CaseInsensitive ) || + + // coming from WebEngine: + msg.contains( QLatin1String( "An OpenGL Core Profile was requested, but it is not supported on the current platform" ), Qt::CaseInsensitive ) + ) break; myPrint( "Warning: %s\n", msg.toLocal8Bit().constData() );