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

GIT_SILENT: coding style

parent c8914a7b
......@@ -28,7 +28,6 @@ QTEST_MAIN(SnippetCustomFileAttachmentNameDialogTest)
SnippetCustomFileAttachmentNameDialogTest::SnippetCustomFileAttachmentNameDialogTest(QObject *parent)
: QObject(parent)
{
}
void SnippetCustomFileAttachmentNameDialogTest::shouldHaveDefaultValues()
......
......@@ -28,7 +28,6 @@ QTEST_MAIN(SnippetCustomFileAttachmentNameWidgetTest)
SnippetCustomFileAttachmentNameWidgetTest::SnippetCustomFileAttachmentNameWidgetTest(QObject *parent)
: QObject(parent)
{
}
void SnippetCustomFileAttachmentNameWidgetTest::shouldHaveDefaultValues()
......@@ -38,7 +37,6 @@ void SnippetCustomFileAttachmentNameWidgetTest::shouldHaveDefaultValues()
QVERIFY(mainLayout);
QCOMPARE(mainLayout->contentsMargins(), QMargins(0, 0, 0, 0));
QLineEdit *mLineEdit = w.findChild<QLineEdit *>(QStringLiteral("mLineEdit"));
QVERIFY(mLineEdit);
QVERIFY(mLineEdit->text().isEmpty());
......
......@@ -37,7 +37,7 @@ void SnippetSelectAttachmentDialogTest::shouldHaveDefaultValues()
QVERIFY(!dlg.windowTitle().isEmpty());
QVBoxLayout *mainLayout = dlg.findChild<QVBoxLayout *>(QStringLiteral("mainLayout"));
QVERIFY(mainLayout);
QVERIFY(mainLayout);
MailCommon::SnippetSelectAttachmentWidget *mAttachmentWidget = dlg.findChild<MailCommon::SnippetSelectAttachmentWidget *>(QStringLiteral("attachmentwidget"));
QVERIFY(mAttachmentWidget);
......
......@@ -48,7 +48,6 @@ SnippetCustomFileAttachmentNameDialog::SnippetCustomFileAttachmentNameDialog(QWi
SnippetCustomFileAttachmentNameDialog::~SnippetCustomFileAttachmentNameDialog()
{
}
QString SnippetCustomFileAttachmentNameDialog::result() const
......
......@@ -48,7 +48,6 @@ SnippetCustomFileAttachmentNameWidget::SnippetCustomFileAttachmentNameWidget(QWi
SnippetCustomFileAttachmentNameWidget::~SnippetCustomFileAttachmentNameWidget()
{
}
void SnippetCustomFileAttachmentNameWidget::insertVariable(MessageComposer::ConvertSnippetVariablesUtil::VariableType variable)
......@@ -65,4 +64,3 @@ void SnippetCustomFileAttachmentNameWidget::setText(const QString &str)
{
mLineEdit->setText(str);
}
......@@ -54,9 +54,9 @@ QStringList SnippetSelectAttachmentWidget::attachments() const
}
SnippetSelectorWidget::SnippetSelectorWidget(QWidget *parent)
: PimCommon::SimpleStringListEditor(parent, static_cast<PimCommon::SimpleStringListEditor::ButtonCode>(PimCommon::SimpleStringListEditor::Add |
PimCommon::SimpleStringListEditor::Remove |
PimCommon::SimpleStringListEditor::Custom))
: PimCommon::SimpleStringListEditor(parent, static_cast<PimCommon::SimpleStringListEditor::ButtonCode>(PimCommon::SimpleStringListEditor::Add
|PimCommon::SimpleStringListEditor::Remove
|PimCommon::SimpleStringListEditor::Custom))
{
setRemoveDialogLabel(i18n("Do you want to delete selected attachment?"));
}
......
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