on xenial help sign in
Fixed RoleRendererHint index.
commitc7482c5358bd9333ba8b9dda6b78654aebe90948 authorPawel Stolowski <pawel.stolowski@canonical.com> dateWed 9 Oct 2013, 11:38 (13 years ago) parentae54754
1 file changed+1−1
plugins/Unity/categories.cpp+1−1
plugins/Unity/categories.cpp+1−1
@@ -260,7 +260,7 @@ Categories::data(const QModelIndex& index, int role) const
260260 }
261261 case RoleRendererHint:
262262 {
263− auto hints = DeeListModel::data(index, CategoryColumn::HINTS).toHash();
263+ auto hints = DeeListModel::data(realIndex, CategoryColumn::HINTS).toHash();
264264 return hints.contains("renderer-hint") ? hints["renderer-hint"] : QVariant(QString());
265265 }
266266 case RoleProgressSource: