Hide recursive layout warnings spam in Qt 5.14+

This commit is contained in:
miruka 2020-07-17 07:41:26 -04:00
parent 46fa68e9ca
commit dc24ee5d9d

View File

@ -37,6 +37,10 @@ void loggingHandler(
if (msg.contains("QML Binding: Not restoring previous value because"))
return;
// Hide layout-related spam introduced in Qt 5.14
if (msg.contains("Qt Quick Layouts: Detected recursive rearrange."))
return;
const char* level =
type == QtDebugMsg ? "~" :
type == QtInfoMsg ? "i" :