forked from qt-creator/qt-creator
Fix translation of help navigation panes
Change-Id: Ia82609d55311698ca675943cdfe7b2b91d6f59c2 Task-number: QTCREATORBUG-14241 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "searchwidget.h"
|
||||
#include "helpconstants.h"
|
||||
#include "helpplugin.h"
|
||||
#include "localhelpmanager.h"
|
||||
#include "openpagesmanager.h"
|
||||
|
||||
@@ -303,7 +304,7 @@ QStringList SearchWidget::currentSearchTerms() const
|
||||
SearchSideBarItem::SearchSideBarItem()
|
||||
: SideBarItem(new SearchWidget, QLatin1String(Constants::HELP_SEARCH))
|
||||
{
|
||||
widget()->setWindowTitle(tr(Constants::SB_SEARCH));
|
||||
widget()->setWindowTitle(HelpPlugin::tr(Constants::SB_SEARCH));
|
||||
connect(widget(), SIGNAL(linkActivated(QUrl,QStringList,bool)),
|
||||
this, SIGNAL(linkActivated(QUrl,QStringList,bool)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user