on xenial help sign in
Remove connections to non existant signal
a295535Albert Astals
tests/mocks/Unity/fake_scopes.cpp−4
@@ -29,10 +29,6 @@ Scopes::Scopes(QObject *parent)
29 , m_loaded(false)
29 , m_loaded(false)
30 , timer(this)
30 , timer(this)
31{
31{
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−
36 timer.setSingleShot(true);
32 timer.setSingleShot(true);
37 timer.setInterval(100);
33 timer.setInterval(100);
38 QObject::connect(&timer, SIGNAL(timeout()), this, SLOT(updateScopes()));
34 QObject::connect(&timer, SIGNAL(timeout()), this, SLOT(updateScopes()));