From 371e5a299161f1239720dcc3276fe892b18a5f9d Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 15 Nov 2020 17:12:46 +0100 Subject: [PATCH] Silence signal syntax deprecated --- src/Logging.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Logging.cpp b/src/Logging.cpp index 6633097c..e537ef7a 100644 --- a/src/Logging.cpp +++ b/src/Logging.cpp @@ -34,7 +34,10 @@ qmlMessageHandler(QtMsgType type, const QMessageLogContext &context, const QStri // that warning, which is useless, since sometimes you need the pixel size to match the // text to the size of the outer element for example. This is done in the avatar and // without that you get one warning for every Avatar displayed, which is stupid! - msg.endsWith("Both point size and pixel size set. Using pixel size.")) + msg.endsWith("Both point size and pixel size set. Using pixel size.") || + // The new syntax breaks rebinding on Qt < 5.15. Until we can drop that, we still need it. + msg.endsWith("QML Connections: Implicitly defined onFoo properties in Connections are " + "deprecated. Use this syntax instead: function onFoo() { ... }")) return; switch (type) {