diff options
| author | Elvis Angelaccio <[email protected]> | 2017-04-29 18:47:13 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2017-05-08 16:04:19 +0200 |
| commit | 73f885f9d3513bdfed2d22b21d0d1a88fe4f6a7a (patch) | |
| tree | c466e746ab006136ca4175d3920a3d60a2709f54 /src/dolphinmainwindow.cpp | |
| parent | e74910cfdfd9db40b6950dc4fe030443cf285552 (diff) | |
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
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index a163ef7fd..e28e540d1 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1453,6 +1453,8 @@ void DolphinMainWindow::connectViewSignals(DolphinViewContainer* container) this, static_cast<void(DolphinMainWindow::*)()>(&DolphinMainWindow::goBack)); connect(view, &DolphinView::goForwardRequested, this, static_cast<void(DolphinMainWindow::*)()>(&DolphinMainWindow::goForward)); + connect(view, &DolphinView::urlActivated, + this, &DolphinMainWindow::handleUrl); const KUrlNavigator* navigator = container->urlNavigator(); connect(navigator, &KUrlNavigator::urlChanged, |
