Merge lp:~fboucault/unity-2d/windowimageprovider_remove_timestamp_hack into lp:unity-2d
Proposed by
Florian Boucault
Status: | Merged |
---|---|
Approved by: | Gerry Boland |
Approved revision: | 810 |
Merged at revision: | 823 |
Proposed branch: | lp:~fboucault/unity-2d/windowimageprovider_remove_timestamp_hack |
Merge into: | lp:unity-2d |
Diff against target: |
121 lines (+9/-44) 5 files modified
libunity-2d-private/src/screeninfo.cpp (+0/-8) libunity-2d-private/src/screeninfo.h (+0/-5) libunity-2d-private/src/windowimageprovider.cpp (+4/-9) places/dash.qml (+2/-11) spread/Window.qml (+3/-11) |
To merge this branch: | bzr merge lp:~fboucault/unity-2d/windowimageprovider_remove_timestamp_hack |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gerry Boland (community) | Approve | ||
Lohith D Shivamurthy (community) | code | Needs Fixing | |
Review via email: mp+84662@code.launchpad.net |
Description of the change
[dash & spread] Do not use a timestamp to make sure the window screenshots are
refreshed but instead make use of the 'cache' property of the Image QML element
recently introduced in Qt Quick 1.1
Removed unused ScreenInfo:
To post a comment you must log in.
Two issues I noticed
1) Is it not a good time to remove this too? :currentTime( ) { ... } </code>
<code >QString ScreenInfo:
2) The comment needs to be fixed. windowimageprov ider.cpp line#104
Current : /* After doing this, split the rest of the id on the character "|". The first
part is the window ID of the decorations, the latter of the actual content. */
Updated : /* Split the id on the character "|". The first part is the window ID of the decorations and the latter is the actual content. */
Would it be possible to address these two issues? Please let me know.