Telephony plugin was missing the factory macros
+ Removed qdebug messages from ping plugin
This commit is contained in:
parent
622fdcc46e
commit
f28088c915
2 changed files with 5 additions and 2 deletions
|
@ -30,12 +30,12 @@ K_EXPORT_PLUGIN( KdeConnectPluginFactory("kdeconnect_ping", "kdeconnect_ping") )
|
|||
PingPlugin::PingPlugin(QObject* parent, const QVariantList& args)
|
||||
: KdeConnectPlugin(parent, args)
|
||||
{
|
||||
qDebug() << "Ping plugin constructor for device" << device()->name();
|
||||
//qDebug() << "Ping plugin constructor for device" << device()->name();
|
||||
}
|
||||
|
||||
PingPlugin::~PingPlugin()
|
||||
{
|
||||
qDebug() << "Ping plugin destructor for device" << device()->name();
|
||||
//qDebug() << "Ping plugin destructor for device" << device()->name();
|
||||
}
|
||||
|
||||
bool PingPlugin::receivePackage(const NetworkPackage& np)
|
||||
|
|
|
@ -23,6 +23,9 @@
|
|||
#include <QDebug>
|
||||
#include <kicon.h>
|
||||
|
||||
K_PLUGIN_FACTORY( KdeConnectPluginFactory, registerPlugin< TelephonyPlugin >(); )
|
||||
K_EXPORT_PLUGIN( KdeConnectPluginFactory("kdeconnect_telephony", "kdeconnect_telephony") )
|
||||
|
||||
TelephonyPlugin::TelephonyPlugin(QObject *parent, const QVariantList &args)
|
||||
: KdeConnectPlugin(parent, args)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue