Commit b8be512c authored by Yuri Chornoivan's avatar Yuri Chornoivan

Port away from deprecated setClearButtonShown

parent 86f67b13
......@@ -83,7 +83,7 @@ Navigator::Navigator( View *view, QWidget *parent )
searchLayout->setMargin( 6 );
mSearchEdit = new KLineEdit( mSearchLineEditWidget );
mSearchEdit->setClearButtonShown(true);
mSearchEdit->setClearButtonEnabled(true);
searchLayout->addWidget( mSearchEdit );
connect(mSearchEdit, &KLineEdit::returnPressed, this, &Navigator::slotSearch);
connect(mSearchEdit, &KLineEdit::textChanged, this, &Navigator::checkSearchButton);
......
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