Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 290b2625 authored by Yuri Chornoivan's avatar Yuri Chornoivan

KLineEdit::setClearButtonShown() is deprecated, port away.

parent 09fb1632
......@@ -116,7 +116,7 @@ FileTypeDetails::FileTypeDetails( QWidget * parent )
gb->setFixedHeight(gb->minimumSizeHint().height());
description = new KLineEdit(firstWidget);
description->setClearButtonShown(true);
description->setClearButtonEnabled(true);
connect(description, SIGNAL(textChanged(const QString &)),
SLOT(updateDescription(const QString &)));
......
......@@ -84,7 +84,7 @@ FileTypesView::FileTypesView(QWidget *parent, const QVariantList &)
l->addLayout( leftLayout );
patternFilterLE = new KLineEdit(this);
patternFilterLE->setClearButtonShown(true);
patternFilterLE->setClearButtonEnabled(true);
patternFilterLE->setTrapReturnKey(true);
patternFilterLE->setPlaceholderText(i18n("Find file type or filename pattern"));
leftLayout->addWidget(patternFilterLE);
......
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