diff --git a/pushbullet/integrationpluginpushbullet.cpp b/pushbullet/integrationpluginpushbullet.cpp index 302eb18c..5afadb6f 100644 --- a/pushbullet/integrationpluginpushbullet.cpp +++ b/pushbullet/integrationpluginpushbullet.cpp @@ -1,6 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2020, nymea GmbH +* Copyright 2013 - 2025, nymea GmbH * Contact: contact@nymea.io * * This file is part of nymea. @@ -31,7 +31,7 @@ #include "integrationpluginpushbullet.h" #include "plugininfo.h" -#include "network/networkaccessmanager.h" +#include #include @@ -150,7 +150,7 @@ void IntegrationPluginPushbullet::executeAction(ThingActionInfo *info) connect(reply, &QNetworkReply::finished, info, [reply, info]{ if (reply->error() != QNetworkReply::NoError) { qCWarning(dcPushbullet()) << "Push message sending failed for" << info->thing()->name() << info->thing()->id() << reply->errorString() << reply->error(); - emit info->finish(Thing::ThingErrorHardwareNotAvailable); + info->finish(Thing::ThingErrorHardwareNotAvailable); return; } diff --git a/pushbullet/integrationpluginpushbullet.h b/pushbullet/integrationpluginpushbullet.h index cae61010..3574d1f7 100644 --- a/pushbullet/integrationpluginpushbullet.h +++ b/pushbullet/integrationpluginpushbullet.h @@ -1,6 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2020, nymea GmbH +* Copyright 2013 - 2025, nymea GmbH * Contact: contact@nymea.io * * This file is part of nymea. @@ -31,7 +31,7 @@ #ifndef INTEGRATIONPLUGINPUSHBULLET_H #define INTEGRATIONPLUGINPUSHBULLET_H -#include "integrations/integrationplugin.h" +#include class IntegrationPluginPushbullet: public IntegrationPlugin { diff --git a/pushbullet/pushbullet.pro b/pushbullet/pushbullet.pro index dcf90f76..953f8450 100644 --- a/pushbullet/pushbullet.pro +++ b/pushbullet/pushbullet.pro @@ -1,7 +1,5 @@ include(../plugins.pri) -TARGET = $$qtLibraryTarget(nymea_integrationpluginpushbullet) - QT+= network SOURCES += \