Commit 0c8e45c2 authored by Laurent Montel's avatar Laurent Montel 😁

Fix method

parent a8417c12
......@@ -37,10 +37,9 @@ ConfirmAddressPlugin::~ConfirmAddressPlugin()
}
MessageComposer::PluginEditorCheckBeforeSendInterface *ConfirmAddressPlugin::createInterface(QWidget *parent)
MessageComposer::PluginEditorCheckBeforeSendInterface *ConfirmAddressPlugin::createInterface(QObject *parent)
{
ConfirmAddressInterface *interface = new ConfirmAddressInterface(this);
interface->setParentWidget(parent);
ConfirmAddressInterface *interface = new ConfirmAddressInterface(parent);
return interface;
}
......
......@@ -30,7 +30,7 @@ public:
explicit ConfirmAddressPlugin(QObject *parent = Q_NULLPTR, const QList<QVariant> & = {});
~ConfirmAddressPlugin();
MessageComposer::PluginEditorCheckBeforeSendInterface *createInterface(QWidget *parent) Q_DECL_OVERRIDE;
MessageComposer::PluginEditorCheckBeforeSendInterface *createInterface(QObject *parent) Q_DECL_OVERRIDE;
};
#endif // CONFIRMADDRESSPLUGIN_H
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