Skip to content

Commit

Permalink
Remove unndeeded properties
Browse files Browse the repository at this point in the history
  • Loading branch information
gsurkov committed Jan 10, 2022
1 parent 9f79c16 commit 8cc5fc1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions backend/applicationbackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ DeviceState *ApplicationBackend::deviceState() const
}
}

const QStringList ApplicationBackend::firmwareUpdateChannels() const
{
return m_firmwareUpdateRegistry->channelNames();
}

const Updates::VersionInfo ApplicationBackend::latestFirmwareVersion() const
{
return m_firmwareUpdateRegistry->latestVersion();
Expand Down
2 changes: 0 additions & 2 deletions backend/applicationbackend.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class ApplicationBackend : public QObject
Q_PROPERTY(Flipper::Zero::DeviceState* deviceState READ deviceState NOTIFY currentDeviceChanged)
Q_PROPERTY(FirmwareUpdateStatus firmwareUpdateStatus READ firmwareUpdateStatus NOTIFY updateStatusChanged)
Q_PROPERTY(QAbstractListModel* firmwareUpdateModel READ firmwareUpdateModel CONSTANT)
Q_PROPERTY(QStringList firmwareUpdateChannels READ firmwareUpdateChannels NOTIFY updateStatusChanged)
Q_PROPERTY(Flipper::Updates::VersionInfo latestFirmwareVersion READ latestFirmwareVersion NOTIFY updateStatusChanged)

public:
Expand Down Expand Up @@ -84,7 +83,6 @@ class ApplicationBackend : public QObject

FirmwareUpdateStatus firmwareUpdateStatus() const;
QAbstractListModel *firmwareUpdateModel() const;
const QStringList firmwareUpdateChannels() const;
const Flipper::Updates::VersionInfo latestFirmwareVersion() const;

/* Actions available from the GUI.
Expand Down

0 comments on commit 8cc5fc1

Please sign in to comment.