Merge lp:~marcustomlinson/unity-scopes-shell/lp-1627795 into lp:unity-scopes-shell
Proposed by
Marcus Tomlinson
Status: | Merged |
---|---|
Approved by: | Paweł Stołowski |
Approved revision: | 346 |
Merged at revision: | 349 |
Proposed branch: | lp:~marcustomlinson/unity-scopes-shell/lp-1627795 |
Merge into: | lp:unity-scopes-shell |
Diff against target: |
151 lines (+1/-28) 4 files modified
src/Unity/scope.cpp (+1/-9) src/Unity/scope.h (+0/-2) src/Unity/settingsmodel.cpp (+0/-15) src/Unity/settingsmodel.h (+0/-2) |
To merge this branch: | bzr merge lp:~marcustomlinson/unity-scopes-shell/lp-1627795 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paweł Stołowski (community) | Approve | ||
unity-api-1-bot | continuous-integration | Needs Fixing | |
Review via email: mp+307523@code.launchpad.net |
Commit message
Don't make changes to the settings model from a separate thread.
To post a comment you must log in.
Hmmm... AFAIR the original change with QtConcurrent was introduced because of the measured (and actually noticable) delay related to child scopes update & resulting settings model update? Aren't we returning to this problem with such change?
How about instead of calling m_settingsModel ->update_ child_scopes( ...) directly from the QtConcurrent's thread, we do this via a signal-slot or a custom QEvent?