on xenial help sign in
Commented out unused argument.
78cc29bPawel Stolowski
plugins/Unity/scopes.cpp+1−1
@@ -97,7 +97,7 @@ bool Scopes::loaded() const
97 return m_loaded;
97 return m_loaded;
98}
98}
99
99
100−void Scopes::onScopeAdded(const unity::dash::Scope::Ptr& scope, int position)
100+void Scopes::onScopeAdded(const unity::dash::Scope::Ptr& scope, int /*position*/)
101{
101{
102 int index = m_scopes.count();
102 int index = m_scopes.count();
103 beginInsertRows(QModelIndex(), index, index);
103 beginInsertRows(QModelIndex(), index, index);
plugins/Unity/scopes.h+1−1
@@ -74,7 +74,7 @@ Q_SIGNALS:
74
74
75private Q_SLOTS:
75private Q_SLOTS:
76 void onScopesLoaded();
76 void onScopesLoaded();
77− void onScopeAdded(const unity::dash::Scope::Ptr& scope, int position);
77+ void onScopeAdded(const unity::dash::Scope::Ptr& scope, int /*position*/);
78 void onScopeRemoved(const unity::dash::Scope::Ptr& scope);
78 void onScopeRemoved(const unity::dash::Scope::Ptr& scope);
79 void onScopesReordered(const unity::dash::Scopes::ScopeList& scopes);
79 void onScopesReordered(const unity::dash::Scopes::ScopeList& scopes);
80 void onScopePropertyChanged();
80 void onScopePropertyChanged();