@@ -44,7 +44,6 @@ Lenses::Lenses(QObject *parent)
4444 m_unityLenses->scope_removed.connect(sigc::mem_fun(this, &Lenses::onScopeRemoved));
4545 m_unityLenses->scopes_reordered.connect(sigc::mem_fun(this, &Lenses::onScopesReordered));
4646 m_unityLenses->LoadScopes();
47− //std::dynamic_pointer_cast<unity::dash::FilesystemLenses>(m_unityLenses)->lenses_loaded.connect(sigc::mem_fun(this, &Lenses::onLensesLoaded));
4847}
4948
5049QHash<int, QByteArray> Lenses::roleNames() const
@@ -115,20 +114,20 @@ void Lenses::onScopeAdded(const unity::dash::Scope::Ptr& scope, int position)
115114
116115void Lenses::onScopeRemoved(const unity::dash::Scope::Ptr& scope)
117116{
118− //TODO pawel
117+ //TODO
119118}
120119
121120void Lenses::onScopesReordered(const unity::dash::Scopes::ScopeList& scopes)
122121{
123− //TODO pawel
122+ //TODO
124123}
125124
126−void Lenses::onLensesLoaded()
125+void Lenses::loadMocks()
127126{
128127 /* FIXME: this is temporary code that is required on mobile to order
129128 the lenses according to the design.
130129 */
131− /*QStringList staticLenses;
130+ QStringList staticLenses;
132131 staticLenses << "mockmusic.lens" << "people.lens" << "home.lens" << "applications.lens" << "mockvideos.lens";
133132
134133 // not all the lenses are guaranteed to go into the model (only if their UnitCore counterparts exist);
@@ -159,7 +158,7 @@ void Lenses::onLensesLoaded()
159158 addUnityLens(lens);
160159 }
161160 endInsertRows();
162− }*/
161+ }
163162
164163 m_loaded = true;
165164 Q_EMIT loadedChanged(m_loaded);