code smell: remove warning

This commit is contained in:
Xiao Yi Fang 2024-06-12 10:12:06 +08:00
parent 9f8b94b9fc
commit 0b5e2f140d

View file

@ -1712,7 +1712,7 @@ void ArticleView::contextMenuRequested( QPoint const & pos )
showDefinition( selectedText, currentGroupId, QString() ); showDefinition( selectedText, currentGroupId, QString() );
else if ( result == addWordToHistoryAction ) else if ( result == addWordToHistoryAction )
emit forceAddWordToHistory( selectedText ); emit forceAddWordToHistory( selectedText );
if ( result == addHeaderToHistoryAction ) else if ( result == addHeaderToHistoryAction )
emit forceAddWordToHistory( webview->title() ); emit forceAddWordToHistory( webview->title() );
else if ( result == sendWordToInputLineAction ) else if ( result == sendWordToInputLineAction )
emit sendWordToInputLine( selectedText ); emit sendWordToInputLine( selectedText );