Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Silence OpenType support missing Qt warning
- Loading branch information
Showing
with
2 additions
and
1 deletion.
-
+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() ); |
|
|