on xenial help sign in
Fixed mock
commite8c285ee5ed60e14d14525559ae5ae3c6d8df87b authorAndrea Cimitan <andrea.cimitan@gmail.com> dateMon 22 Feb 2016, 12:59 (11 years ago) parenta1b4072
1 file changed+1−1
tests/mocks/Unity/fake_scope.cpp+1−1
tests/mocks/Unity/fake_scope.cpp+1−1
@@ -206,7 +206,7 @@ PreviewModel* Scope::preview(QVariant const& result, QString const& /*categoryId
206206 if (m_returnNullPreview) {
207207 return nullptr;
208208 } else {
209− return new PreviewModel(this);
209+ return new PreviewModel(this, this);
210210 }
211211}
212212