on xenial help sign in
Added a comment.
commit0556cda56620b01c96c985401f4f8a22c8723991 authorPawel Stolowski <pawel.stolowski@canonical.com> dateThu 19 Sep 2013, 17:43 (13 years ago) parent42cea9d
1 file changed+2
plugins/Unity/scope.cpp+2
plugins/Unity/scope.cpp+2
@@ -201,6 +201,8 @@ void Scope::onActivated(unity::dash::LocalResult const& result, unity::dash::Sco
201201 break;
202202 case unity::dash::PERFORM_SEARCH:
203203 if (hints.find("query") != hints.end()) {
204+ // note: this will emit searchQueryChanged, and shell will call setSearchQuery back with a new query,
205+ // but it will get ignored.
204206 setSearchQuery(QString::fromStdString(g_variant_get_string(hints.at("query"), nullptr)));
205207 }
206208 break;