Skip to content
Permalink
Browse files

Silence OpenType support missing Qt warning

  • Loading branch information
nirvn committed Jan 12, 2021
1 parent bf56a6b commit ea5ce0101beb54f9fb4c44e330acfe02aa9bea3e
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/main.cpp
@@ -400,7 +400,8 @@ void myMessageOutput( QtMsgType type, const QMessageLogContext &, const QString
* - QtSVG warnings with regards to lack of implementation beyond Tiny SVG 1.2
*/
if ( msg.startsWith( QLatin1String( "libpng warning: iCCP: known incorrect sRGB profile" ), Qt::CaseInsensitive ) ||
msg.contains( QLatin1String( "Could not add child element to parent element because the types are incorrect" ), Qt::CaseInsensitive ) )
msg.contains( QLatin1String( "Could not add child element to parent element because the types are incorrect" ), Qt::CaseInsensitive ) ||
msg.contains( QLatin1String( "OpenType support missing for" ), Qt::CaseInsensitive ) )
break;

myPrint( "Warning: %s\n", msg.toLocal8Bit().constData() );

0 comments on commit ea5ce01

Please sign in to comment.
You can’t perform that action at this time.