diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2019-10-09 09:54:06 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2019-10-09 20:51:17 +0200 |
commit | 01ce781737c7dba94bc46b0323a7ae3c42361114 (patch) | |
tree | d00e080a85271a2634050dea7088493cb116f3f8 | |
parent | ecb442dc3b90cf2d523fcf8e2dacf438fdeed6f6 (diff) | |
download | qttools-01ce781737c7dba94bc46b0323a7ae3c42361114.tar.gz |
Fix build with -no-feature-tooltip
Task-number: QTBUG-79048
Change-Id: Ie6493f923089b95ca7617a9485b466b55a6f0b73
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
-rw-r--r-- | src/assistant/help/qhelpsearchquerywidget.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/assistant/help/qhelpsearchquerywidget.cpp b/src/assistant/help/qhelpsearchquerywidget.cpp index 4cbd4b069..61902656d 100644 --- a/src/assistant/help/qhelpsearchquerywidget.cpp +++ b/src/assistant/help/qhelpsearchquerywidget.cpp @@ -111,9 +111,11 @@ private: void retranslate() { m_searchLabel->setText(QHelpSearchQueryWidget::tr("Search for:")); + m_searchButton->setText(QHelpSearchQueryWidget::tr("Search")); +#if QT_CONFIG(tooltip) m_prevQueryButton->setToolTip(QHelpSearchQueryWidget::tr("Previous search")); m_nextQueryButton->setToolTip(QHelpSearchQueryWidget::tr("Next search")); - m_searchButton->setText(QHelpSearchQueryWidget::tr("Search")); +#endif } void saveQuery(const QString &query) |