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 14132b81 authored by Laurent Montel's avatar Laurent Montel 😁

Use directly IncludeFileLineEdit

parent e6a01a84
......@@ -23,7 +23,7 @@
#include "commonwidgets/sievehelpbutton.h"
#include "autocreatescripts/autocreatescriptutil_p.h"
#include "editor/sieveeditorutil.h"
#include "widgets/lineeditvalidator.h"
#include "widgets/includefilelineedit.h"
#include <QPushButton>
#include <KLocalizedString>
......@@ -148,7 +148,7 @@ void SieveIncludeActionWidget::initWidget()
lab = new QLabel(i18n("Name:"));
mLayout->addWidget(lab, 1, 2);
mIncludeName = new LineEditValidator(this);
mIncludeName = new IncludeFileLineEdit(this);
mIncludeName->setClearButtonEnabled(true);
connect(mIncludeName, &QLineEdit::textChanged, this, &SieveIncludeActionWidget::valueChanged);
mLayout->addWidget(mIncludeName, 1, 3);
......
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