on xenial help sign in
Commented some more unused arguments.
b5414b5Pawel Stolowski
plugins/Unity/scope.cpp+3−3
@@ -118,7 +118,7 @@ void Scope::setNoResultsHint(const QString& hint) {
118 }
118 }
119}
119}
120
120
121−void Scope::activate(const QString& uri)
121+void Scope::activate(const QString& /*uri*/)
122{
122{
123 // TODO:
123 // TODO:
124 // we need to create unity::dash::LocalResult (see UnityCore/Result.h) and pass it to Activate;
124 // 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 */)
236 m_results->setName(QString::fromStdString(m_unityScope->results()->swarm_name));
236 m_results->setName(QString::fromStdString(m_unityScope->results()->swarm_name));
237}
237}
238
238
239−void Scope::onResultsModelChanged(unity::glib::Object<DeeModel> model)
239+void Scope::onResultsModelChanged(unity::glib::Object<DeeModel> /* model */)
240{
240{
241 m_results->setModel(m_unityScope->results()->model());
241 m_results->setModel(m_unityScope->results()->model());
242}
242}
@@ -256,7 +256,7 @@ void Scope::onCategoriesModelChanged(unity::glib::Object<DeeModel> model)
256 m_categories->setModel(model);
256 m_categories->setModel(model);
257}
257}
258
258
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)
260{
260{
261 QString hint;
261 QString hint;
262
262
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();