TreeView doesn't ignore any of the key events even if it doesn't handle them, preventing them from being propagated.
Steps to reproduce the problem:
- Click on the treeview and press any button => only treeview logs the key press, parent does not
- In comparison click on the tableview and press any button => both the parent and tableview log the key press
|For Gerrit Dashboard: QTBUG-92517|
|343178,3||Only stop keypress propagation if TreeView actually uses the key||master||qt-extensions/qttreeview||Status: MERGED||+2||0|