Fix this
commit639bbcdd23ddaaf10dc896d5e3e7d6d3bcc12f2f
authorAlbert Astals <albert.astals@canonical.com>
dateMon 21 Jul 2014, 11:22 (12 years ago)
parent5d6ee65
tests/mocks/Unity/fake_scope.cpp+1−1
@@ -156,7 +156,7 @@ void Scope::activate(QVariant const& result)
156156 qDebug() << "Called activate on scope" << m_id << "with result" << result;
157157 if (result.toString() == "Result.2.2") {
158158 Scopes *scopes = dynamic_cast<Scopes*>(parent());
159− m_openScope = scopes->getScope("MockScope2");
159+ m_openScope = scopes->getScopeFromAll("MockScope2");
160160 Q_EMIT openScope(m_openScope);
161161 }
162162}