Commit 2aba5fc7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Astyle kdelibs

parent cc398c52
......@@ -40,7 +40,6 @@ CheckBeforeSendConfigureWidget::CheckBeforeSendConfigureWidget(QWidget *parent)
connect(mCheckMailTransport, &QCheckBox::clicked, this, &CheckBeforeSendConfigureWidget::configureChanged);
mainLayout->addWidget(mCheckMailTransport);
mainLayout->addStretch(1);
}
......
......@@ -17,7 +17,6 @@
Boston, MA 02110-1301, USA.
*/
#include "confirmaddresscheckjobtest.h"
#include "../confirmaddresscheckjob.h"
#include <QTest>
......
......@@ -17,7 +17,6 @@
Boston, MA 02110-1301, USA.
*/
#ifndef CONFIRMADDRESSCHECKJOBTEST_H
#define CONFIRMADDRESSCHECKJOBTEST_H
......
......@@ -37,7 +37,7 @@ void ConfirmAddressCheckJob::start()
continue;
}
foundValidEmail = false;
Q_FOREACH(const QString &domain, mDomains) {
Q_FOREACH (const QString &domain, mDomains) {
if (email.contains(domain)) {
if (!mValidEmails.contains(email)) {
mValidEmails.append(email);
......@@ -47,7 +47,7 @@ void ConfirmAddressCheckJob::start()
}
}
if (!foundValidEmail) {
Q_FOREACH(const QString &whiteEmail, mWhiteEmails) {
Q_FOREACH (const QString &whiteEmail, mWhiteEmails) {
if (email.contains(whiteEmail)) {
if (!mValidEmails.contains(email)) {
mValidEmails.append(email);
......
......@@ -17,7 +17,6 @@
Boston, MA 02110-1301, USA.
*/
#include "confirmaddressconfiguretab.h"
#include "confirmaddressconfiguretabwidget.h"
#include <QVBoxLayout>
......
......@@ -17,7 +17,6 @@
Boston, MA 02110-1301, USA.
*/
#ifndef CONFIRMADDRESSCONFIGURETAB_H
#define CONFIRMADDRESSCONFIGURETAB_H
......
......@@ -32,7 +32,6 @@ ConfirmAddressConfigureTabWidget::ConfirmAddressConfigureTabWidget(QWidget *pare
mainLayout->setObjectName(QStringLiteral("mainlayout"));
mainLayout->setMargin(0);
QGroupBox *groupBoxDomainName = new QGroupBox(i18n("Accepted Domain Name"), this);
groupBoxDomainName->setObjectName(QStringLiteral("groupboxdomainname"));
mainLayout->addWidget(groupBoxDomainName);
......
......@@ -38,7 +38,6 @@ public:
void loadSettings(const KConfigGroup &grp);
void saveSettings(KConfigGroup &grp);
void setIdentity(const uint &identity);
Q_SIGNALS:
......
......@@ -36,8 +36,7 @@ public Q_SLOTS:
private:
bool mEnabled;
struct ConfirmAddressSettings
{
struct ConfirmAddressSettings {
QStringList mDomains;
QStringList mWhiteLists;
};
......
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