Silence signal syntax deprecated

pull/332/head
Nicolas Werner 4 years ago
parent 3ec8a291b6
commit 371e5a2991
  1. 5
      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 // 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 // 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! // 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(<arguments>) { ... }"))
return; return;
switch (type) { switch (type) {

Loading…
Cancel
Save