Commit 97364d72 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Allow to select email

parent c38b5573
Pipeline #35833 passed with stage
in 45 minutes and 21 seconds
......@@ -71,13 +71,13 @@ SnippetWidget::SnippetWidget(QWidget *parent)
connect(d->mUi.keyWidget, &KKeySequenceWidget::keySequenceChanged, this, [this]() {
d->wasChanged = true;
});
connect(d->mUi.cc, &QLineEdit::textChanged, this, [this]() {
connect(d->mUi.cc, &Akonadi::EmailAddressRequester::textChanged, this, [this]() {
d->wasChanged = true;
});
connect(d->mUi.to, &QLineEdit::textChanged, this, [this]() {
connect(d->mUi.to, &Akonadi::EmailAddressRequester::textChanged, this, [this]() {
d->wasChanged = true;
});
connect(d->mUi.bcc, &QLineEdit::textChanged, this, [this]() {
connect(d->mUi.bcc, &Akonadi::EmailAddressRequester::textChanged, this, [this]() {
d->wasChanged = true;
});
connect(d->mUi.subject, &QLineEdit::textChanged, this, [this]() {
......
......@@ -93,13 +93,7 @@
</widget>
</item>
<item row="4" column="1" colspan="2">
<widget class="QLineEdit" name="cc">
<property name="placeholderText">
<string>Separate email with a comma</string>
</property>
<property name="clearButtonEnabled">
<bool>true</bool>
</property>
<widget class="Akonadi::EmailAddressRequester" name="cc">
</widget>
</item>
<item row="3" column="0">
......@@ -110,13 +104,7 @@
</widget>
</item>
<item row="5" column="1" colspan="2">
<widget class="QLineEdit" name="bcc">
<property name="placeholderText">
<string>Separate email with a comma</string>
</property>
<property name="clearButtonEnabled">
<bool>true</bool>
</property>
<widget class="Akonadi::EmailAddressRequester" name="bcc">
</widget>
</item>
<item row="4" column="0">
......@@ -147,13 +135,7 @@
</widget>
</item>
<item row="3" column="1" colspan="2">
<widget class="QLineEdit" name="to">
<property name="placeholderText">
<string>Separate email with a comma</string>
</property>
<property name="clearButtonEnabled">
<bool>true</bool>
</property>
<widget class="Akonadi::EmailAddressRequester" name="to">
</widget>
</item>
<item row="2" column="1" colspan="2">
......
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