aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/webview.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-04-17 17:23:53 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-04-17 17:23:53 +0200
commitc03fc45aca526f94e07b99672fb09825af86221c (patch)
tree302cd9f6cc8d7a8026aedfda326debf1ea48b6a4 /src/webengine/webview.cpp
parentRemove LoadingBar (diff)
downloadsmolbote-c03fc45aca526f94e07b99672fb09825af86221c.tar.xz
Hovering over links shows them in the status bar again
Diffstat (limited to 'src/webengine/webview.cpp')
-rw-r--r--src/webengine/webview.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/webengine/webview.cpp b/src/webengine/webview.cpp
index 1e5d8d5..dadac1e 100644
--- a/src/webengine/webview.cpp
+++ b/src/webengine/webview.cpp
@@ -60,7 +60,6 @@ void WebView::setPage(QWebEnginePage *page)
Q_CHECK_PTR(page);
// make sure the page gets cleaned up if we replace it by taking ownership
page->setParent(this);
- connect(page, &QWebEnginePage::linkHovered, this, &WebView::handleLinkHovered);
QWebEngineView::setPage(page);
}
@@ -114,12 +113,6 @@ WebView *WebView::createWindow(QWebEnginePage::WebWindowType type)
return view;
}
-void WebView::handleLinkHovered(const QString &url)
-{
- // TODO: tooltip
- Q_UNUSED(url);
-}
-
void WebView::triggerViewAction(WebView::ViewAction action)
{
switch(action) {