summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2016-10-25 19:49:13 +0200
committerAleix Pol <[email protected]>2016-10-25 19:49:13 +0200
commitc44d84a8ad8f21df727eb71df56de6ff0e82f084 (patch)
tree2ac3f0d79a59692b5b514a564836a01c9c9b65b6
parent079eb38aa073fa89d672d1d652e37c816ec90635 (diff)
Make all review roles change at once
-rw-r--r--libdiscover/resources/AbstractResourcesBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiscover/resources/AbstractResourcesBackend.cpp b/libdiscover/resources/AbstractResourcesBackend.cpp
index 790e304..946e29f 100644
--- a/libdiscover/resources/AbstractResourcesBackend.cpp
+++ b/libdiscover/resources/AbstractResourcesBackend.cpp
@@ -90,7 +90,7 @@ QString AbstractResourcesBackend::name() const
void AbstractResourcesBackend::emitRatingsReady()
{
- emit allDataChanged({ "rating", "ratingPoints", "ratingCount" });
+ emit allDataChanged({ "rating", "ratingPoints", "ratingCount", "sortableRating" });
}
bool AbstractResourcesBackend::Filters::shouldFilter(AbstractResource* res) const