on xenial help sign in
Added missing case
commit22bd4604b2596fb6a442b39997d11017cd88c3cc authorMichal Hruby <michal.mhr@gmail.com> dateTue 8 Jul 2014, 12:04 (12 years ago) parentb12681e
1 file changed+4
tests/mocks/Unity/fake_categories.cpp+4
tests/mocks/Unity/fake_categories.cpp+4
@@ -116,6 +116,8 @@ Categories::data(const QModelIndex& index, int role) const
116116 map["title"] = "HOLA";
117117 return map;
118118 }
119+ case RoleHeaderLink:
120+ return QString();
119121 case RoleResults:
120122 return QVariant();
121123 case RoleCount:
@@ -163,6 +165,8 @@ Categories::data(const QModelIndex& index, int role) const
163165 map["subtitle"] = "HOLA";
164166 return map;
165167 }
168+ case RoleHeaderLink:
169+ return QString();
166170 case RoleResults:
167171 return QVariant::fromValue(resultsModel);
168172 case RoleCount: