Restore NavigationToolTips for file items in projects manager

Authored by kossebau on Oct 21 2017, 8:09 PM.

Description

Restore NavigationToolTips for file items in projects manager

Summary:
With the introduction of ProjectModelItemDelegate the tooltip events for
items have been handled by its inherited QItemDelegate::helpEvent(), thus
somehow no longer bubbling to ProjectTreeView::event().
As a result no longer the NavigationToolTips were shown for supported file
items, only the full path as delivered by ProjectModel.

This patch restores that behaviour, by moving the respective code to the
helpEvent handler of ProjectModelItemDelegate.

Reviewers: KDevelop, mwolff

Reviewed By: KDevelop, mwolff

Subscribers: mwolff, kdevelop-devel

Differential Revision: https://phabricator.kde.org/D8410

Details

Committed
kossebauOct 22 2017, 11:11 AM
Reviewer
KDevelop
Differential Revision
D8410: Restore NavigationToolTips for file items in projects manager
Parents
R32:a0e019394942: API dox: fix markup of some code examples
Branches
Unknown
Tags
Unknown