Merge lp:~aacid/unity-scopes-shell/resetMeansCountChanged into lp:unity-scopes-shell

Proposed by Albert Astals Cid
Status: Merged
Approved by: Paweł Stołowski
Approved revision: 128
Merged at revision: 129
Proposed branch: lp:~aacid/unity-scopes-shell/resetMeansCountChanged
Merge into: lp:unity-scopes-shell
Diff against target: 11 lines (+1/-0)
1 file modified
src/Unity/overviewresults.cpp (+1/-0)
To merge this branch: bzr merge lp:~aacid/unity-scopes-shell/resetMeansCountChanged
Reviewer Review Type Date Requested Status
Paweł Stołowski (community) Approve
Review via email: mp+231898@code.launchpad.net

Commit message

emit countChanged on model reset

To post a comment you must log in.
Revision history for this message
Paweł Stołowski (stolowski) wrote :

Makes sense! Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Unity/overviewresults.cpp'
2--- src/Unity/overviewresults.cpp 2014-07-22 13:49:50 +0000
3+++ src/Unity/overviewresults.cpp 2014-08-22 14:08:25 +0000
4@@ -71,6 +71,7 @@
5 beginResetModel();
6 m_results = results;
7 endResetModel();
8+ Q_EMIT countChanged();
9 }
10
11 QString OverviewResultsModel::categoryId() const

Subscribers

People subscribed via source and target branches

to all changes: