Commit faabfde7 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer

QmlJSInspector: Use a FilterLineEdit for the properties filter

Adds a clear button when text is entered.
parent 69661547
......@@ -50,6 +50,7 @@
#include <debugger/debuggermainwindow.h>
#include <debugger/debuggerplugin.h>
#include <utils/filterlineedit.h>
#include <utils/qtcassert.h>
#include <utils/styledbar.h>
#include <utils/stylehelper.h>
......@@ -733,7 +734,7 @@ void InspectorUi::setupDockWidgets()
QWidget *pathAndFilterWidget = new StyledBackground;
pathAndFilterWidget->setMaximumHeight(m_crumblePath->height());
m_filterExp = new QLineEdit;
m_filterExp = new Utils::FilterLineEdit;
m_filterExp->setPlaceholderText(tr("Filter properties"));
m_filterExp->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment