aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2020-04-30 16:34:45 +0200
committerChristian Stenger <christian.stenger@qt.io>2020-05-07 05:04:22 +0000
commit1cb8f525ea92899ee9a9dda10c693b058c9d1a1e (patch)
tree2d56c45a463be6c0d43c1516bb730e574c44f3ce
parenta5074ac987ee3c6edee8b1709dcbe5891dd2be3b (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.cpp2
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())