mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
code smell: remove warning
This commit is contained in:
parent
9f8b94b9fc
commit
0b5e2f140d
|
@ -1712,7 +1712,7 @@ void ArticleView::contextMenuRequested( QPoint const & pos )
|
|||
showDefinition( selectedText, currentGroupId, QString() );
|
||||
else if ( result == addWordToHistoryAction )
|
||||
emit forceAddWordToHistory( selectedText );
|
||||
if ( result == addHeaderToHistoryAction )
|
||||
else if ( result == addHeaderToHistoryAction )
|
||||
emit forceAddWordToHistory( webview->title() );
|
||||
else if ( result == sendWordToInputLineAction )
|
||||
emit sendWordToInputLine( selectedText );
|
||||
|
|
Loading…
Reference in a new issue