Restore NavigationToolTips for file items in projects manager
ClosedPublic

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

Details

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.

Diff Detail

Repository
R32 KDevelop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kossebau created this revision.Oct 21 2017, 8:21 PM
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptOct 21 2017, 8:21 PM
mwolff accepted this revision.Oct 22 2017, 7:53 AM
mwolff added a subscriber: mwolff.

lgtm

This revision is now accepted and ready to land.Oct 22 2017, 7:53 AM
This revision was automatically updated to reflect the committed changes.