Remove the count function
commit0f2543190eead0ba6f15e83440edde9270a84a2e
authorAlbert Astals <albert.astals@canonical.com>
dateTue 20 May 2014, 16:48 (12 years ago)
parent83b21d8
tests/mocks/Unity/fake_scopes.cpp−5
@@ -128,11 +128,6 @@ bool Scopes::loaded() const
128128 return m_loaded;
129129}
130130
131−int Scopes::count() const
132−{
133− return rowCount();
134−}
135−
136131void Scopes::addScope(Scope* scope)
137132{
138133 int index = rowCount();
tests/mocks/Unity/fake_scopes.h−4
@@ -50,10 +50,6 @@ public:
5050 QModelIndex parent ( const QModelIndex & index ) const;
5151
5252 bool loaded() const override;
53− int count() const;
54−
55−Q_SIGNALS:
56− void countChanged();
5753
5854private Q_SLOTS:
5955 void updateScopes();