From a25855c41a3749eed390c9c3839dbc86933cb987 Mon Sep 17 00:00:00 2001 From: Tom Dewey Date: Thu, 9 Nov 2023 16:17:00 +0000 Subject: [PATCH] imagewriter: Remove nascent HW filter This isn't ready yet - so remove the unused stubs. --- src/imagewriter.cpp | 6 ------ src/imagewriter.h | 3 --- 2 files changed, 9 deletions(-) diff --git a/src/imagewriter.cpp b/src/imagewriter.cpp index 8457c0b..3770bba 100644 --- a/src/imagewriter.cpp +++ b/src/imagewriter.cpp @@ -472,12 +472,6 @@ namespace { } // namespace anonymous -void ImageWriter::setHWFilterList(const QByteArray &json) { - QJsonDocument json_document = QJsonDocument::fromJson(json); - - _deviceFilter = json_document.array(); -} - void ImageWriter::handleNetworkRequestFinished(QNetworkReply *data) { // Defer deletion data->deleteLater(); diff --git a/src/imagewriter.h b/src/imagewriter.h index 1183c08..4e39d60 100644 --- a/src/imagewriter.h +++ b/src/imagewriter.h @@ -85,9 +85,6 @@ public: /** Begin the asynchronous fetch of the OS lists, and associated sublists. */ Q_INVOKABLE void beginOSListFetch(); - /** Set the HW filter, for a filtered view of the OS list */ - Q_INVOKABLE void setHWFilterList(const QByteArray &json); - /* Set custom cache file */ void setCustomCacheFile(const QString &cacheFile, const QByteArray &sha256);