Commit a40a241b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Astyle kdelibs

parent ddd9deda
......@@ -17,7 +17,6 @@
Boston, MA 02110-1301, USA.
*/
#include "checkbeforesendinterfacetest.h"
#include "../checkbeforesendinterface.h"
......
......@@ -17,7 +17,6 @@
Boston, MA 02110-1301, USA.
*/
#ifndef CHECKBEFORESENDINTERFACETEST_H
#define CHECKBEFORESENDINTERFACETEST_H
......
......@@ -39,5 +39,4 @@ void CheckBeforeSendPluginTest::shouldHaveDefaultValue()
QVERIFY(plugin.createConfigureWidget(new QWidget()).configureWidget);
}
QTEST_MAIN(CheckBeforeSendPluginTest)
......@@ -42,7 +42,6 @@ CheckBeforeSendConfigureWidget::~CheckBeforeSendConfigureWidget()
}
void CheckBeforeSendConfigureWidget::loadSettings()
{
KConfigGroup grp(KSharedConfig::openConfig(), "Check Before Send");
......
......@@ -36,7 +36,6 @@ CheckBeforeSendInterface::~CheckBeforeSendInterface()
}
bool CheckBeforeSendInterface::exec(const MessageComposer::PluginEditorCheckBeforeSendParams &params)
{
if (mSendPlainText) {
......
......@@ -37,7 +37,6 @@ CheckBeforeSendPlugin::~CheckBeforeSendPlugin()
}
MessageComposer::PluginEditorCheckBeforeSendInterface *CheckBeforeSendPlugin::createInterface(QObject *parent)
{
CheckBeforeSendInterface *interface = new CheckBeforeSendInterface(parent);
......
......@@ -67,7 +67,7 @@ void ConfirmAddressWidgetTest::shouldAddValidAndInvalidAddresses()
const QStringList lst{ QStringLiteral("foo"), QStringLiteral("foo"), QStringLiteral("foo")};
w.setValidAddresses(lst);
w.setInvalidAddresses(lst);
QCOMPARE(listEmails->count(), lst.count()*2);
QCOMPARE(listEmails->count(), lst.count() * 2);
}
QTEST_MAIN(ConfirmAddressWidgetTest)
......@@ -56,7 +56,6 @@ ConfirmAddressConfigureWidget::ConfirmAddressConfigureWidget(QWidget *parent)
this, &ConfirmAddressConfigureWidget::configureChanged);
layoutDomainName->addWidget(mDomainNameListEditor);
QGroupBox *groupBoxWhiteList = new QGroupBox(i18n("White List Address"), this);
groupBoxWhiteList->setObjectName(QStringLiteral("groupboxwhitelist"));
vboxlayout->addWidget(groupBoxWhiteList);
......
......@@ -57,7 +57,7 @@ void ConfirmAddressWidget::setInvalidAddresses(const QStringList &addresses)
void ConfirmAddressWidget::createAddressItems(const QStringList &address, bool valid)
{
Q_FOREACH(const QString &email, address) {
Q_FOREACH (const QString &email, address) {
QListWidgetItem *item = new QListWidgetItem(email, mListEmails);
if (!valid) {
item->setTextColor(Qt::red);
......
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