diff --git a/articleview.cc b/articleview.cc index 4135d83b..ada189cf 100644 --- a/articleview.cc +++ b/articleview.cc @@ -2492,11 +2492,6 @@ void ArticleView::copyAsText() QApplication::clipboard()->setText( text ); } -void ArticleView::inspect() -{ - ui.definition->triggerPageAction( QWebEnginePage::InspectElement ); -} - void ArticleView::highlightFTSResults() { closeSearch(); diff --git a/articleview.hh b/articleview.hh index d47dfc05..8a09d71e 100644 --- a/articleview.hh +++ b/articleview.hh @@ -362,9 +362,6 @@ private slots: /// Copy current selection as plain text void copyAsText(); - /// Inspect element - void inspect(); - void setActiveDictIds(ActiveDictIds); void dictionaryClear( ActiveDictIds ad ); diff --git a/articlewebview.cc b/articlewebview.cc index 916f98d7..bcdfe0c5 100644 --- a/articlewebview.cc +++ b/articlewebview.cc @@ -34,11 +34,6 @@ void ArticleWebView::setUp( Config::Class * cfg ) setZoomFactor(cfg->preferences.zoomFactor); } -void ArticleWebView::triggerPageAction( QWebEnginePage::WebAction action, bool checked ) -{ - QWebEngineView::triggerPageAction( action, checked ); -} - QWebEngineView * ArticleWebView::createWindow( QWebEnginePage::WebWindowType type ) { if(type==QWebEnginePage::WebWindowType::WebDialog) diff --git a/articlewebview.hh b/articlewebview.hh index bfab5f71..8a942172 100644 --- a/articlewebview.hh +++ b/articlewebview.hh @@ -35,8 +35,6 @@ public: void setSelectionBySingleClick( bool set ) { selectionBySingleClick = set; } - void triggerPageAction(QWebEnginePage::WebAction action, bool checked = false); - bool eventFilter(QObject *obj, QEvent *ev); signals: