D8410: Restore NavigationToolTips for file items in projects manager

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Sat Oct 21 20:21:55 UTC 2017


kossebau created this revision.
kossebau added a reviewer: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.

REVISION 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.

REPOSITORY
  R32 KDevelop

BRANCH
  restoreNavigationToolTipForProjectManager

REVISION DETAIL
  https://phabricator.kde.org/D8410

AFFECTED FILES
  plugins/projectmanagerview/projectmodelitemdelegate.cpp
  plugins/projectmanagerview/projectmodelitemdelegate.h
  plugins/projectmanagerview/projecttreeview.cpp
  plugins/projectmanagerview/projecttreeview.h

To: kossebau, #kdevelop
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20171021/88bafde4/attachment.html>


More information about the KDevelop-devel mailing list