diff options
author | Christian Stenger <christian.stenger@qt.io> | 2020-04-30 16:34:45 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2020-05-07 05:04:22 +0000 |
commit | 1cb8f525ea92899ee9a9dda10c693b058c9d1a1e (patch) | |
tree | 2d56c45a463be6c0d43c1516bb730e574c44f3ce | |
parent | a5074ac987ee3c6edee8b1709dcbe5891dd2be3b (diff) |
Marketplace: Disable videos from marketplace
They are no real products.
Change-Id: I534a1be922a9f0aa8e603ebbcb1bc01357c16bdd
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r-- | src/plugins/marketplace/productlistmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/marketplace/productlistmodel.cpp b/src/plugins/marketplace/productlistmodel.cpp index a49f544c3d..cded10ee37 100644 --- a/src/plugins/marketplace/productlistmodel.cpp +++ b/src/plugins/marketplace/productlistmodel.cpp @@ -106,7 +106,7 @@ void ProductListModel::onFetchCollectionsFinished(QNetworkReply *reply) const auto handle = obj.value("handle").toString(); const int productsCount = obj.value("products_count").toInt(); - if (productsCount > 0 && handle != "all-products") + if (productsCount > 0 && handle != "all-products" && handle != "qt-education-1") m_pendingCollections.append(handle); } if (!m_pendingCollections.isEmpty()) |