diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-17 17:23:53 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-17 17:23:53 +0200 |
commit | c03fc45aca526f94e07b99672fb09825af86221c (patch) | |
tree | 302cd9f6cc8d7a8026aedfda326debf1ea48b6a4 /src/webengine | |
parent | Remove LoadingBar (diff) | |
download | smolbote-c03fc45aca526f94e07b99672fb09825af86221c.tar.xz |
Hovering over links shows them in the status bar again
Diffstat (limited to 'src/webengine')
-rw-r--r-- | src/webengine/webview.cpp | 7 | ||||
-rw-r--r-- | src/webengine/webview.h | 3 |
2 files changed, 0 insertions, 10 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) { diff --git a/src/webengine/webview.h b/src/webengine/webview.h index ab86ec2..d59847b 100644 --- a/src/webengine/webview.h +++ b/src/webengine/webview.h @@ -52,9 +52,6 @@ signals: protected: WebView *createWindow(QWebEnginePage::WebWindowType type) override; -private slots: - void handleLinkHovered(const QString &url); - private: Window *m_parentWindow = nullptr; WebProfile *m_profile = nullptr; |