From dc4647069d4bb302d574e8cc7bb0f844b23ebd90 Mon Sep 17 00:00:00 2001 From: Xiao Yi Fang Date: Mon, 12 Aug 2024 16:53:47 +0800 Subject: [PATCH] opt: webview history navigation --- src/ui/articleview.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/articleview.cc b/src/ui/articleview.cc index 8e30bfaf..d5d871f6 100644 --- a/src/ui/articleview.cc +++ b/src/ui/articleview.cc @@ -1430,7 +1430,8 @@ QString ArticleView::getTitle() QString ArticleView::getWord() const { - return currentWord; + return webview->history()->currentItem().title(); + // return currentWord; } void ArticleView::print( QPrinter * printer ) const