From 73f885f9d3513bdfed2d22b21d0d1a88fe4f6a7a Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Sat, 29 Apr 2017 18:47:13 +0200 Subject: Don't ignore tag clicks in the tooltips Summary: Now that we can use the metadata widgets in the tooltips, we can also open the tags:// url if the user clicks some tag in a tooltip. The behavior is now consistent with the metadata widget in the information panel. Test Plan: Click a tag when the metadata tooltip shows up. Reviewers: emmanuelp Subscribers: #konqueror, #dolphin Differential Revision: https://phabricator.kde.org/D5658 --- src/views/tooltips/dolphinfilemetadatawidget.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/views/tooltips/dolphinfilemetadatawidget.h') diff --git a/src/views/tooltips/dolphinfilemetadatawidget.h b/src/views/tooltips/dolphinfilemetadatawidget.h index cf796250d..c5c228766 100644 --- a/src/views/tooltips/dolphinfilemetadatawidget.h +++ b/src/views/tooltips/dolphinfilemetadatawidget.h @@ -69,6 +69,12 @@ signals: */ void metaDataRequestFinished(const KFileItemList& items); + /** + * Is emitted when the user clicks a tag or a link + * in the metadata widget. + */ + void urlActivated(const QUrl& url); + private: QLabel* m_preview; QLabel* m_name; -- cgit v1.3.1