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

Add parent + explicit

parent 003b5330
Pipeline #117692 passed with stage
in 4 minutes and 28 seconds
......@@ -23,7 +23,7 @@ class FolderShortcutCommand : public QObject
Q_OBJECT
public:
FolderShortcutCommand(QWidget *mainwidget, const Akonadi::Collection &col);
explicit FolderShortcutCommand(QWidget *mainwidget, const Akonadi::Collection &col);
~FolderShortcutCommand() override;
public Q_SLOTS:
......
......@@ -20,7 +20,8 @@
#include <QDBusConnection>
using namespace KMail;
MailServiceImpl::MailServiceImpl()
MailServiceImpl::MailServiceImpl(QObject *parent)
: QObject(parent)
{
new ServiceAdaptor(this);
QDBusConnection::sessionBus().registerObject(QStringLiteral("/MailTransportService"), this);
......
......@@ -20,7 +20,7 @@ class MailServiceImpl : public QObject
{
Q_OBJECT
public:
MailServiceImpl();
explicit MailServiceImpl(QObject *parent = nullptr);
Q_REQUIRED_RESULT bool sendMessage(const QString &from,
const QString &to,
const QString &cc,
......
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