Merge lp://qastaging/~uriboni/unity-2d/dash-use-search-hint into lp://qastaging/unity-2d/3.0

Proposed by Ugo Riboni
Status: Merged
Approved by: Aurélien Gâteau
Approved revision: 464
Merged at revision: 472
Proposed branch: lp://qastaging/~uriboni/unity-2d/dash-use-search-hint
Merge into: lp://qastaging/unity-2d/3.0
Diff against target: 115 lines (+26/-3)
4 files modified
launcher/UnityApplications/place.cpp (+1/-0)
launcher/UnityApplications/placeentry.cpp (+15/-0)
launcher/UnityApplications/placeentry.h (+7/-0)
places/SearchEntry.qml (+3/-3)
To merge this branch: bzr merge lp://qastaging/~uriboni/unity-2d/dash-use-search-hint
Reviewer Review Type Date Requested Status
Aurélien Gâteau (community) Approve
Review via email: mp+54322@code.qastaging.launchpad.net

Description of the change

[dash] Use the SearchHint from the .place file to choose what to display in the search box for a place entry.

To post a comment you must log in.
Revision history for this message
Aurélien Gâteau (agateau) wrote :

Looks good. Just a minor coding style nitpick: setSearchHint argument should be "const QString&", same for searchHintChanged(), that's slightly more efficient. Feel free to mark the MR as approved when this is fixed.

review: Needs Fixing
Revision history for this message
Ugo Riboni (uriboni) wrote :

Let's take care of that in a separate review. All the other set* methods in that class that are of type QString are not using const QString&, so let's keep it consistent for now and fix it later all in one go. I added a FIXME.

463. By Ugo Riboni

Add FIXME to suggest possible optimization later

464. By Ugo Riboni

Optimize property setter

Revision history for this message
Aurélien Gâteau (agateau) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: