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);