Commit 50d1cd8d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Intercept return key + fix iconbutton size

parent 5065fd5c
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include "filternamewidget.h" #include "filternamewidget.h"
#include <KIconButton> #include <KIconButton>
#include <KLocalizedString> #include <KLocalizedString>
#include <Libkdepim/LineEditCatchReturnKey>
#include <QDebug> #include <QDebug>
#include <QHBoxLayout> #include <QHBoxLayout>
#include <QLabel> #include <QLabel>
...@@ -24,6 +25,8 @@ FilterNameWidget::FilterNameWidget(QWidget *parent) ...@@ -24,6 +25,8 @@ FilterNameWidget::FilterNameWidget(QWidget *parent)
mName->setObjectName(QStringLiteral("mName")); mName->setObjectName(QStringLiteral("mName"));
mIconButton->setObjectName(QStringLiteral("mIconButton")); mIconButton->setObjectName(QStringLiteral("mIconButton"));
mIconButton->setFixedSize(32, 32);
new KPIM::LineEditCatchReturnKey(mName, this);
auto label = new QLabel(i18n("Name:"), this); auto label = new QLabel(i18n("Name:"), this);
label->setObjectName(QStringLiteral("label")); label->setObjectName(QStringLiteral("label"));
......
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