on xenial help sign in
Remove the count function
0f25431Albert Astals
tests/mocks/Unity/fake_scopes.cpp−5
@@ -128,11 +128,6 @@ bool Scopes::loaded() const
128 return m_loaded;
128 return m_loaded;
129}
129}
130
130
131−int Scopes::count() const
132−{
133− return rowCount();
134−}
135−
136void Scopes::addScope(Scope* scope)
131void Scopes::addScope(Scope* scope)
137{
132{
138 int index = rowCount();
133 int index = rowCount();
tests/mocks/Unity/fake_scopes.h−4
@@ -50,10 +50,6 @@ public:
50 QModelIndex parent ( const QModelIndex & index ) const;
50 QModelIndex parent ( const QModelIndex & index ) const;
51
51
52 bool loaded() const override;
52 bool loaded() const override;
53− int count() const;
54−
55−Q_SIGNALS:
56− void countChanged();
57
53
58private Q_SLOTS:
54private Q_SLOTS:
59 void updateScopes();
55 void updateScopes();