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
=== modified file 'src/Unity/overviewresults.cpp'
--- src/Unity/overviewresults.cpp 2014-07-22 13:49:50 +0000
+++ src/Unity/overviewresults.cpp 2014-08-22 14:08:25 +0000
@@ -71,6 +71,7 @@
71 beginResetModel();71 beginResetModel();
72 m_results = results;72 m_results = results;
73 endResetModel();73 endResetModel();
74 Q_EMIT countChanged();
74}75}
7576
76QString OverviewResultsModel::categoryId() const77QString OverviewResultsModel::categoryId() const

Subscribers

People subscribed via source and target branches

to all changes: