From 604ee1933fbdf8d173cd7bb04cde2a7c1e927a7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Fri, 8 Aug 2025 15:53:43 +0200 Subject: [PATCH] pushbullet: Add Qt6 support --- pushbullet/integrationpluginpushbullet.cpp | 6 +++--- pushbullet/integrationpluginpushbullet.h | 4 ++-- pushbullet/pushbullet.pro | 2 -- 3 files changed, 5 insertions(+), 7 deletions(-) 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 += \