diff options
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; |