on xenial help sign in
Add fixme
commitfe67fc395ee75ae23a4f044cec09e0a4af208c8b authorAndrea Cimitan <andrea.cimitan@canonical.com> dateThu 3 Oct 2013, 17:26 (13 years ago) parentf58f482
1 file changed+2−3
plugins/Unity/categoryresults.cpp+2−3
plugins/Unity/categoryresults.cpp+2−3
@@ -94,9 +94,8 @@ CategoryResults::data(const QModelIndex& index, int role) const
9494 return DeeListModel::data(index, ResultsColumn::DND_URI);
9595 case RoleMetadata:
9696 return DeeListModel::data(index, ResultsColumn::METADATA);
97− // nasty hack while we don't support annotated icons
98− case RoleMetadataScopeDisabled:
99− {
97+ // FIXME nasty hack while we don't support annotated icons
98+ case RoleMetadataScopeDisabled: {
10099 QVariantHash hash(DeeListModel::data(index, ResultsColumn::METADATA).toHash());
101100 if (hash.contains("content")) {
102101 QVariantHash innerHash(hash["content"].toHash());