This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2021-01-04 16:46:26 +01:00

21 lines
384 B
C++

#include "platformhelperubports.h"
#include <QSettings>
#include <QUuid>
PlatformHelperUBPorts::PlatformHelperUBPorts(QObject *parent) : PlatformHelper(parent)
{
}
QString PlatformHelperUBPorts::platform() const
{
return "ubports";
}
QString PlatformHelperUBPorts::deviceSerial() const
{
QSettings s;
return s.value("deviceSerial", QUuid::createUuid()).toString();
}