Commit bad66457 authored by Bhushan Shah's avatar Bhushan Shah 📱
Browse files

Fix plugin factory

bug: 340924
parent 2cdf43e0
......@@ -33,6 +33,8 @@
using namespace Kerfuffle;
K_PLUGIN_FACTORY( CliPluginFactory, registerPlugin< CliPlugin >(); )
CliPlugin::CliPlugin(QObject *parent, const QVariantList & args)
: CliInterface(parent, args)
, m_archiveType(ArchiveType7z)
......
......@@ -28,6 +28,8 @@
using namespace Kerfuffle;
K_PLUGIN_FACTORY( CliPluginFactory, registerPlugin< CliPlugin >(); )
CliPlugin::CliPlugin(QObject *parent, const QVariantList &args)
: CliInterface(parent, args),
m_status(Header),
......
......@@ -28,6 +28,8 @@
#include <QDate>
#include <QTime>
K_PLUGIN_FACTORY( CliPluginFactory, registerPlugin< CliPlugin >(); )
CliPlugin::CliPlugin(QObject *parent, const QVariantList &args)
: CliInterface(parent, args),
m_isFirstLine(true),
......
......@@ -29,12 +29,11 @@
#include <QDir>
#include <QString>
#include <QStringList>
#include <KPluginFactory>
using namespace Kerfuffle;
K_PLUGIN_FACTORY( CliPluginFactory, registerPlugin< CliPlugin >(); )
CliPlugin::CliPlugin(QObject *parent, const QVariantList& args)
: CliInterface(parent, args)
, m_parseState(ParseStateColumnDescription1)
......
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