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