Commit d72984fe authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Fix build with bluetooth enabled

We need to implement this pure virtual method.

This is just a placeholder and lacks a proper implementation.

(cherry picked from commit 9082ed46)
parent b840ed65
......@@ -89,3 +89,8 @@ void BluetoothDeviceLink::dataReceived()
QMetaObject::invokeMethod(this, &BluetoothDeviceLink::dataReceived, Qt::QueuedConnection);
}
}
QSslCertificate BluetoothDeviceLink::certificate() const
{
return {}; // TODO Not sure what to do here. For LanDeviceLink we use the SSL connection's certificate, but we don't have that here
}
......@@ -10,6 +10,7 @@
#include <QObject>
#include <QString>
#include <QBluetoothSocket>
#include <QSslCertificate>
#include "../devicelink.h"
#include "../devicelinereader.h"
......@@ -33,6 +34,7 @@ public:
virtual void userRequestsUnpair() override;
virtual bool linkShouldBeKeptAlive() override;
QSslCertificate certificate() const override;
private Q_SLOTS:
void dataReceived();
......
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