on xenial help sign in
Remove debug warning
e29dfcfMichal Hruby
plugins/Unity/scope.cpp+1−2
@@ -320,7 +320,7 @@ void Scope::synchronizeStates()
320 }
320 }
321}
321}
322
322
323−void Scope::onSearchFinished(std::string const& query, unity::glib::HintsMap const& hints, unity::glib::Error const& err)
323+void Scope::onSearchFinished(std::string const& /* query */, unity::glib::HintsMap const& hints, unity::glib::Error const& err)
324{
324{
325 QString hint;
325 QString hint;
326
326
@@ -329,7 +329,6 @@ void Scope::onSearchFinished(std::string const& query, unity::glib::HintsMap con
329 if (!err || !g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
329 if (!err || !g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
330 m_searchInProgress = false;
330 m_searchInProgress = false;
331 Q_EMIT searchInProgressChanged();
331 Q_EMIT searchInProgressChanged();
332− qWarning("search for %s finished", query.c_str());
333 }
332 }
334
333
335 if (!m_unityScope->results()->count()) {
334 if (!m_unityScope->results()->count()) {