mystrom: Add Qt6 support
This commit is contained in:
parent
c323e0ffd7
commit
47d8cb8a7b
@ -1,6 +1,6 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
*
|
||||
* Copyright 2013 - 2021, nymea GmbH
|
||||
* Copyright 2013 - 2025, nymea GmbH
|
||||
* Contact: contact@nymea.io
|
||||
*
|
||||
* This file is part of nymea.
|
||||
@ -254,7 +254,7 @@ QUrl IntegrationPluginMyStrom::composeUrl(Thing *thing, const QString &path)
|
||||
|
||||
if (address.isNull()) {
|
||||
pluginStorage()->beginGroup(thing->id().toString());
|
||||
address = pluginStorage()->value("cachedAddress").toString();
|
||||
address = QHostAddress(pluginStorage()->value("cachedAddress").toString());
|
||||
pluginStorage()->endGroup();
|
||||
}
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
*
|
||||
* Copyright 2013 - 2021, nymea GmbH
|
||||
* Copyright 2013 - 2025, nymea GmbH
|
||||
* Contact: contact@nymea.io
|
||||
*
|
||||
* This file is part of nymea.
|
||||
@ -31,7 +31,7 @@
|
||||
#ifndef INTEGRATIONPLUGINMYSTROM_H
|
||||
#define INTEGRATIONPLUGINMYSTROM_H
|
||||
|
||||
#include "integrations/integrationplugin.h"
|
||||
#include <integrations/integrationplugin.h>
|
||||
|
||||
#include <QUrlQuery>
|
||||
#include <QNetworkReply>
|
||||
@ -58,7 +58,7 @@ public:
|
||||
void executeAction(ThingActionInfo *info) override;
|
||||
|
||||
private:
|
||||
void finishDiscoveryReply(QNetworkReply* reply, ThingDiscoveryInfo* info, QList<QNetworkReply*> *pendingReplies);
|
||||
void finishDiscoveryReply(QNetworkReply *reply, ThingDiscoveryInfo *info, QList<QNetworkReply *> *pendingReplies);
|
||||
QUrl composeUrl(Thing *thing, const QString &path);
|
||||
|
||||
ZeroConfServiceBrowser *m_zeroConf = nullptr;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user