opt: webview history navigation

This commit is contained in:
Xiao Yi Fang 2024-08-12 16:53:47 +08:00
parent 67a388455c
commit dc4647069d

View file

@ -1430,7 +1430,8 @@ QString ArticleView::getTitle()
QString ArticleView::getWord() const QString ArticleView::getWord() const
{ {
return currentWord; return webview->history()->currentItem().title();
// return currentWord;
} }
void ArticleView::print( QPrinter * printer ) const void ArticleView::print( QPrinter * printer ) const