~thomir-deactivatedaccount/unity/switcher-autopilot-test

« back to all changes in this revision

Viewing changes to UnityCore/HomeLens.cpp

  • Committer: Michal Hruby
  • Date: 2012-03-05 17:30:32 UTC
  • mto: This revision was merged to the branch mainline in revision 2080.
  • Revision ID: michal.mhr@gmail.com-20120305173032-lk1dr6yr2hbrs1gn
Make sure Search method can restart a lens (not just GlobalSearch)

Show diffs side-by-side

added added

removed removed

Lines of Context:
770
770
      if (running_searches_ <= 0)
771
771
      {
772
772
        owner_->search_finished.emit(Hints());
773
 
        LOG_DEBUG(logger) << "Search finished";
 
773
        LOG_INFO(logger) << "Search finished";
774
774
      }
775
775
  });
776
776
 
911
911
  {
912
912
    if (lens->search_in_global())
913
913
    {
914
 
      LOG_DEBUG(logger) << " - Global search on '" << lens->id() << "' for '"
 
914
      LOG_INFO(logger) << " - Global search on '" << lens->id() << "' for '"
915
915
          << search_string << "'";
916
916
      lens->view_type = ViewType::HOME_VIEW;
917
917
      lens->GlobalSearch(search_string);