Commit d309568e authored by Laurent Montel's avatar Laurent Montel 😁

USe LineEditValidator here too

parent 43a17668
......@@ -26,6 +26,7 @@
#include <KLocalizedString>
#include <QLineEdit>
#include "widgets/lineeditvalidator.h"
#include <QHBoxLayout>
#include <QLabel>
......@@ -55,7 +56,7 @@ SieveForEveryPartWidget::SieveForEveryPartWidget(QWidget *parent)
QLabel *lab = new QLabel(i18n("Name (optional):"));
lay->addWidget(lab);
mName = new QLineEdit;
mName = new LineEditValidator;
connect(mName, &QLineEdit::textChanged, this, &SieveForEveryPartWidget::valueChanged);
mName->setEnabled(false);
lay->addWidget(mName);
......
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