summaryrefslogtreecommitdiffstats
path: root/src/assistant
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-05-14 03:00:26 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-05-14 03:00:26 +0200
commit17827131e9dc7451e77b8a48a2ec879bc64cee38 (patch)
tree2f75849e01a178295d9c67db950da21a87d3a866 /src/assistant
parent24218dfbad58d5f5a50f7f274f315e852fca6b50 (diff)
parent966df461f6e90b6fb996f037b94e606ee9954522 (diff)
Merge remote-tracking branch 'origin/5.12' into 5.13
Diffstat (limited to 'src/assistant')
-rw-r--r--src/assistant/assistant/indexwindow.cpp1
-rw-r--r--src/assistant/help/qhelpsearchquerywidget.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/assistant/assistant/indexwindow.cpp b/src/assistant/assistant/indexwindow.cpp
index d49d05f5d..d8c0f8212 100644
--- a/src/assistant/assistant/indexwindow.cpp
+++ b/src/assistant/assistant/indexwindow.cpp
@@ -58,6 +58,7 @@ IndexWindow::IndexWindow(QWidget *parent)
layout->addWidget(l);
l->setBuddy(m_searchLineEdit);
+ m_searchLineEdit->setClearButtonEnabled(true);
connect(m_searchLineEdit, &QLineEdit::textChanged,
this, &IndexWindow::filterIndices);
m_searchLineEdit->installEventFilter(this);
diff --git a/src/assistant/help/qhelpsearchquerywidget.cpp b/src/assistant/help/qhelpsearchquerywidget.cpp
index bb7a61cc5..4cbd4b069 100644
--- a/src/assistant/help/qhelpsearchquerywidget.cpp
+++ b/src/assistant/help/qhelpsearchquerywidget.cpp
@@ -234,6 +234,7 @@ QHelpSearchQueryWidget::QHelpSearchQueryWidget(QWidget *parent)
QHBoxLayout* hBoxLayout = new QHBoxLayout();
d->m_searchLabel = new QLabel(this);
d->m_lineEdit = new QLineEdit(this);
+ d->m_lineEdit->setClearButtonEnabled(true);
d->m_lineEdit->setCompleter(&d->m_searchCompleter);
d->m_lineEdit->installEventFilter(d);
d->m_prevQueryButton = new QToolButton(this);