diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2018-01-04 16:17:46 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2018-01-09 09:10:43 +0000 |
commit | 62a3d16950b14606a00a2dd7b27f148c6ac6fac5 (patch) | |
tree | 981042318061fc75af89873ee2fa5ff2a3e3a037 /src/plugins/projectexplorer/dependenciespanel.cpp | |
parent | 874ec43abed24fc7ac8fc390a714c62239275bcd (diff) |
Add tooltip to distinguish between identically named dependencies
Task-number: QTCREATORBUG-16781
Change-Id: Ia11845a8509d1f02a59c4abdef7089678d6b277a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/dependenciespanel.cpp')
-rw-r--r-- | src/plugins/projectexplorer/dependenciespanel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/dependenciespanel.cpp b/src/plugins/projectexplorer/dependenciespanel.cpp index 595b5ca5a7b..07716e39b2a 100644 --- a/src/plugins/projectexplorer/dependenciespanel.cpp +++ b/src/plugins/projectexplorer/dependenciespanel.cpp @@ -94,6 +94,8 @@ QVariant DependenciesModel::data(const QModelIndex &index, int role) const switch (role) { case Qt::DisplayRole: return p->displayName(); + case Qt::ToolTipRole: + return p->projectFilePath().toUserOutput(); case Qt::CheckStateRole: return SessionManager::hasDependency(m_project, p) ? Qt::Checked : Qt::Unchecked; case Qt::DecorationRole: |