on xenial help sign in
There's no countChanged signal anymore
commit26a78975a7264013afaa065059a0cf40ba934f32 authorAlbert Astals <albert.astals@canonical.com> dateTue 27 May 2014, 13:47 (12 years ago) parent50e450a
1 file changed−4
tests/mocks/Unity/fake_scopes.cpp−4
tests/mocks/Unity/fake_scopes.cpp−4
@@ -29,10 +29,6 @@ Scopes::Scopes(QObject *parent)
2929 , m_loaded(false)
3030 , timer(this)
3131{
32− QObject::connect(this, SIGNAL(rowsInserted(const QModelIndex &, int, int)), this, SIGNAL(countChanged()));
33− QObject::connect(this, SIGNAL(rowsRemoved(const QModelIndex &, int, int)), this, SIGNAL(countChanged()));
34− QObject::connect(this, SIGNAL(modelReset()), this, SIGNAL(countChanged()));
35−
3632 timer.setSingleShot(true);
3733 timer.setInterval(100);
3834 QObject::connect(&timer, SIGNAL(timeout()), this, SLOT(updateScopes()));