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

GIT_SILENT: coding style

parent 4944dcb5
......@@ -600,7 +600,7 @@ QStringList KMFilterListBox::selectedFilterId(SearchRule::RequiredPart &required
MailFilter *filter = static_cast<QListWidgetFilterItem *>(mListWidget->item(i))->filter();
if (!filter->isEmpty()) {
const QString id
= filter->identifier();
= filter->identifier();
listFilterId << id;
requiredPart = qMax(requiredPart,
static_cast<QListWidgetFilterItem *>(mListWidget->item(i))->filter()->requiredPart(resource));
......
......@@ -244,6 +244,7 @@ void FavoriteCollectionWidget::paintEvent(QPaintEvent *event)
Akonadi::EntityListView::paintEvent(event);
}
}
void FavoriteCollectionWidget::dragEnterEvent(QDragEnterEvent *event)
{
if (event->source() == this) {
......
......@@ -188,8 +188,12 @@ RedirectDialog::RedirectDialog(SendMode mode, QWidget *parent)
KGuiItem::assign(d->mUser1Button, KGuiItem(i18n("&Send Now"), QIcon::fromTheme("mail-send")));
KGuiItem::assign(d->mUser2Button, KGuiItem(i18n("Send &Later"), QIcon::fromTheme("mail-queue")));
connect(d->mUser1Button, &QPushButton::clicked, this, [this]() { d->slotUser1(); });
connect(d->mUser2Button, &QPushButton::clicked, this, [this]() { d->slotUser2(); });
connect(d->mUser1Button, &QPushButton::clicked, this, [this]() {
d->slotUser1();
});
connect(d->mUser2Button, &QPushButton::clicked, this, [this]() {
d->slotUser2();
});
d->mUser1Button->setEnabled(false);
d->mUser2Button->setEnabled(false);
......
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