[libcalamares] Apply coding style to PluginFactory

main
Adriaan de Groot 6 years ago
parent ccd707b23a
commit f31ff8b9ea

@ -6,6 +6,4 @@
#include "PluginFactory.h"
CalamaresPluginFactory::~CalamaresPluginFactory()
{
}
CalamaresPluginFactory::~CalamaresPluginFactory() {}

@ -44,7 +44,10 @@ class CalamaresPluginFactory : public KPluginFactory
{
Q_OBJECT
public:
explicit CalamaresPluginFactory() : KPluginFactory() {}
explicit CalamaresPluginFactory()
: KPluginFactory()
{
}
~CalamaresPluginFactory() override;
/** @brief Create an object from the factory.
@ -58,7 +61,8 @@ public:
Q_UNUSED( parentWidget );
Q_UNUSED( args );
ParentType* p = nullptr;
if (parent) {
if ( parent )
{
p = qobject_cast< ParentType* >( parent );
Q_ASSERT( p );
}

Loading…
Cancel
Save