summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/plugandpaint
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2021-05-11 11:15:19 +0300
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2021-06-10 17:26:04 +0000
commitea538487e04705268c1fcf189d081a520f5e9016 (patch)
treefff85ea6f327d97ada523d3a2c13df868ea25067 /examples/widgets/tools/plugandpaint
parenta9e83563dfaa02791682ad5c601b894596822223 (diff)
Silence misleading exception print in setQtContextDelegate
As I understand it, the call to getDeclaredMethod seems to be just there to check if a given method is declared under before adding it to the delegates list, and that's why the getDeclaredMethod is not returning anything, so we could treat it as a failed check and not print anything. This is an amendment to 80f7494e8a9f9a70e3b53833a098d74d8c2331d9 which added this print. Change-Id: I5f69ed5b4fa655da53ac7fba20d4e07acc75607a Reviewed-by: Andy Shaw <andy.shaw@qt.io> (cherry picked from commit eaac5bae9838a73d0d70004bcb37b97635d1f2d4)
Diffstat (limited to 'examples/widgets/tools/plugandpaint')
0 files changed, 0 insertions, 0 deletions