summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2016-12-20 19:37:33 +0100
committerAleix Pol <[email protected]>2016-12-20 19:37:33 +0100
commit4e11aca1e051f6b363d9155012d95e5a6423f69a (patch)
tree0147af03e5d02e764a83e7ae5b53c0253df14976
parent6b0865bbedaae60a1747eb30826d9f3629bd6ecc (diff)
Use the right attribute...
*bangs head against the wall*
-rw-r--r--libdiscover/resources/ResourcesProxyModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiscover/resources/ResourcesProxyModel.cpp b/libdiscover/resources/ResourcesProxyModel.cpp
index a9b300e..bc00006 100644
--- a/libdiscover/resources/ResourcesProxyModel.cpp
+++ b/libdiscover/resources/ResourcesProxyModel.cpp
@@ -94,7 +94,7 @@ void ResourcesProxyModel::setSortRole(int sortRole)
void ResourcesProxyModel::setSortOrder(Qt::SortOrder sortOrder)
{
if (sortOrder != m_sortOrder) {
- m_sortRole = sortOrder;
+ m_sortOrder = sortOrder;
Q_EMIT sortRoleChanged(sortOrder);
invalidateSorting();
}