Don't reload from kritarc when generating a layer thumbnail or painting a QPainter canvas
ClosedPublic

Authored by nicholasl on Aug 29 2017, 3:36 PM.

Details

Summary

Question
In the prototype of KisCoordinatesConverter::getQPainterCheckersInfo(), scrollCheckers is not defined as const, whereas the implementation has it as const.
The same situation exists in the function getOpenGLCheckersInfo(), which is not modified by this patch.
Should the prototypes be made to match the implementations?

Diff Detail

Repository
R37 Krita
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nicholasl created this revision.Aug 29 2017, 3:36 PM
Restricted Application added a subscriber: woltherav. · View Herald TranscriptAug 29 2017, 3:36 PM
rempt accepted this revision.Aug 30 2017, 7:36 AM
rempt added a subscriber: rempt.

Accepted, and, yes, the prototype should always match the implementation.

This revision is now accepted and ready to land.Aug 30 2017, 7:36 AM
This revision was automatically updated to reflect the committed changes.