Fix overlap of the first item in KFilePlacesView
ClosedPublic

Authored by fvogt on Jan 13 2018, 6:33 PM.

Details

Summary

The first item overlapped both the section header and the item
below. This was caused by taking the spacing wrongly into account.
Additionally, the paint function's option's rect was not moved correctly,
as the unmodified option.rect was used in some places.

Test Plan

Diff Detail

Repository
R241 KIO
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
fvogt created this revision.Jan 13 2018, 6:33 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJan 13 2018, 6:33 PM
fvogt requested review of this revision.Jan 13 2018, 6:33 PM
renatoo accepted this revision.Jan 16 2018, 5:29 PM

looks good

This revision is now accepted and ready to land.Jan 16 2018, 5:29 PM
This revision was automatically updated to reflect the committed changes.