Merge lp:~townsend/unity/unity.refactor-preview into lp:unity
Status: | Merged |
---|---|
Approved by: | Brandon Schaefer |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3006 |
Proposed branch: | lp:~townsend/unity/unity.refactor-preview |
Merge into: | lp:unity |
Diff against target: |
567 lines (+36/-152) 12 files modified
dash/previews/ApplicationPreview.cpp (+0/-8) dash/previews/ApplicationPreview.h (+1/-21) dash/previews/GenericPreview.cpp (+0/-8) dash/previews/GenericPreview.h (+1/-24) dash/previews/MoviePreview.cpp (+0/-8) dash/previews/MoviePreview.h (+1/-22) dash/previews/MusicPreview.cpp (+0/-10) dash/previews/MusicPreview.h (+1/-22) dash/previews/Preview.cpp (+10/-0) dash/previews/Preview.h (+21/-1) dash/previews/SocialPreview.cpp (+0/-8) dash/previews/SocialPreview.h (+1/-20) |
To merge this branch: | bzr merge lp:~townsend/unity/unity.refactor-preview |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nick Dedekind (community) | Needs Fixing | ||
Brandon Schaefer (community) | Approve | ||
PS Jenkins bot | continuous-integration | Pending | |
Review via email: mp+140976@code.launchpad.net |
Commit message
Refactored the derived preview classes to put the common members into the base Preview class. This should help alleviate code redundancy, code readability, and make the creation of any future new derived preview classes easier.
Description of the change
= Issue =
The derived preview classes(
= Fix =
This moves the common members into the base Preview class. This should alleviate code redundancy, code readability, and make it easier to create any future new derived preview classes.
= Test =
This does not change any functionality, so the current tests should be sufficient.
Awesome! Nice clean up, everything looks good, compiles, and things still work :).