mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-11-17 07:48:27 +01:00
Make sure the tooltip for the "show definition" menu entry is displayed
This commit is contained in:
parent
ce5f2b2a8c
commit
51622a0012
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@ void CustomPopup::addShowDefinitionEntry(QMenu &iPopup, QString iWord)
|
|||
{
|
||||
m_word = iWord;
|
||||
|
||||
QAction *definitionAction = new QAction(_q("Show definition"), this);
|
||||
definitionAction->setStatusTip(_q("Show definition of the selected word in an external browser"));
|
||||
QAction *definitionAction = new QAction(_q("Show definition"), m_widget);
|
||||
definitionAction->setStatusTip(_q("Show definition of '%1' in an external browser").arg(m_word));
|
||||
QObject::connect(definitionAction, SIGNAL(triggered()),
|
||||
this, SLOT(definitionRequested()));
|
||||
|
||||
|
|
Loading…
Reference in a new issue