on xenial help sign in
Fixed RoleRendererHint index.
c7482c5Pawel Stolowski
plugins/Unity/categories.cpp+1−1
@@ -260,7 +260,7 @@ Categories::data(const QModelIndex& index, int role) const
260 }
260 }
261 case RoleRendererHint:
261 case RoleRendererHint:
262 {
262 {
263− auto hints = DeeListModel::data(index, CategoryColumn::HINTS).toHash();
263+ auto hints = DeeListModel::data(realIndex, CategoryColumn::HINTS).toHash();
264 return hints.contains("renderer-hint") ? hints["renderer-hint"] : QVariant(QString());
264 return hints.contains("renderer-hint") ? hints["renderer-hint"] : QVariant(QString());
265 }
265 }
266 case RoleProgressSource:
266 case RoleProgressSource: