Commit f28088c9 authored by Albert Vaca Cintora's avatar Albert Vaca Cintora

Telephony plugin was missing the factory macros

+ Removed qdebug messages from ping plugin
parent 622fdcc4
......@@ -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)
{
......
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