mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
Remove rather useless context menu to add title to history.
In most cases, since we are on this page, we have already just added its title to the history.
This commit is contained in:
parent
05546a5d53
commit
c03b346114
|
@ -1113,14 +1113,6 @@ void ArticleView::contextMenuRequested( QPoint const & pos )
|
|||
if ( selectedText.size() )
|
||||
menu.addAction( ui.definition->pageAction( QWebPage::Copy ) );
|
||||
|
||||
if( menu.isEmpty() )
|
||||
{
|
||||
addHeaderToHistoryAction = new QAction( tr( "&Add \"%1\" to history" ).
|
||||
arg( ui.definition->title() ),
|
||||
&menu );
|
||||
menu.addAction( addHeaderToHistoryAction );
|
||||
}
|
||||
|
||||
map< QAction *, QString > tableOfContents;
|
||||
|
||||
// Add table of contents
|
||||
|
|
Loading…
Reference in a new issue