Port away from deprecated KLineEdit::setClearButtonShown()

parent 88e1f575
......@@ -217,7 +217,7 @@ KTreeViewSearchLine::KTreeViewSearchLine( QWidget *parent, QTreeView *treeView )
connect( this, SIGNAL(textChanged(QString)),
this, SLOT(queueSearch(QString)) );
setClearButtonShown( true );
setClearButtonEnabled( true );
setTreeView( treeView );
if ( !treeView ) {
......@@ -232,7 +232,7 @@ KTreeViewSearchLine::KTreeViewSearchLine( QWidget *parent,
connect( this, SIGNAL(textChanged(QString)),
this, SLOT(queueSearch(QString)) );
setClearButtonShown( true );
setClearButtonEnabled( true );
setTreeViews( treeViews );
}
......
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