on xenial help sign in
Commented some more unused arguments.
commitb5414b58cb0b6f383a36e4ff29e6329cda48f392 authorPawel Stolowski <pawel.stolowski@canonical.com> dateThu 13 Jun 2013, 12:27 (13 years ago) parent78cc29b
2 files changed+4−4
plugins/Unity/scope.cpp+3−3 plugins/Unity/scopes.h+1−1
plugins/Unity/scope.cpp+3−3
@@ -118,7 +118,7 @@ void Scope::setNoResultsHint(const QString& hint) {
118118 }
119119}
120120
121−void Scope::activate(const QString& uri)
121+void Scope::activate(const QString& /*uri*/)
122122{
123123 // TODO:
124124 // we need to create unity::dash::LocalResult (see UnityCore/Result.h) and pass it to Activate;
@@ -236,7 +236,7 @@ void Scope::onResultsChanged(const unity::dash::Results::Ptr& /* results */)
236236 m_results->setName(QString::fromStdString(m_unityScope->results()->swarm_name));
237237}
238238
239−void Scope::onResultsModelChanged(unity::glib::Object<DeeModel> model)
239+void Scope::onResultsModelChanged(unity::glib::Object<DeeModel> /* model */)
240240{
241241 m_results->setModel(m_unityScope->results()->model());
242242}
@@ -256,7 +256,7 @@ void Scope::onCategoriesModelChanged(unity::glib::Object<DeeModel> model)
256256 m_categories->setModel(model);
257257}
258258
259−void Scope::onSearchFinished(const std::string &query, unity::glib::HintsMap const &hints)
259+void Scope::onSearchFinished(const std::string& /* query */, unity::glib::HintsMap const &hints)
260260{
261261 QString hint;
262262
plugins/Unity/scopes.h+1−1
@@ -74,7 +74,7 @@ Q_SIGNALS:
7474
7575private Q_SLOTS:
7676 void onScopesLoaded();
77− void onScopeAdded(const unity::dash::Scope::Ptr& scope, int /*position*/);
77+ void onScopeAdded(const unity::dash::Scope::Ptr& scope, int position);
7878 void onScopeRemoved(const unity::dash::Scope::Ptr& scope);
7979 void onScopesReordered(const unity::dash::Scopes::ScopeList& scopes);
8080 void onScopePropertyChanged();