[utilities/kate/release/26.08] addons/project: Add clear button
Christoph Cullmann <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 7155b9402bcd4f2b7c5f128e282a241679ef1a90 by Christoph Cullmann. Committed on 16/07/2026 at 17:16. Pushed by cullmann into branch 'release/26.08'. Add clear button (cherry picked from commit 11569dee4ca58e287b540269b390d2b697cefb7b) Co-authored-by: Waqar Ahmed <[email protected]> M +1 -0 addons/project/gitwidget.cpp https://invent.kde.org/utilities/kate/-/commit/7155b9402bcd4f2b7c5f128e282a241679ef1a90 diff --git a/addons/project/gitwidget.cpp b/addons/project/gitwidget.cpp index 813f595813..dd8354bf50 100644 --- a/addons/project/gitwidget.cpp +++ b/addons/project/gitwidget.cpp @@ -336,6 +336,7 @@ void GitWidget::init() m_filterLineEdit = new QLineEdit(this); m_filterLineEdit->setPlaceholderText(i18n("Filter…")); m_filterLineEdit->setProperty("_breeze_borders_sides", QVariant::fromValue(QFlags{Qt::TopEdge})); + m_filterLineEdit->setClearButtonEnabled(true); layout->addWidget(m_filterLineEdit); m_model = new GitStatusModel(this);