Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Tusooa Zhu
Krita
Commits
f2ba928e
Commit
f2ba928e
authored
Sep 02, 2015
by
Friedrich W. H. Kossebau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More const ref parameter passing
parent
91643981
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
krita/ui/canvas/kis_canvas2.cpp
krita/ui/canvas/kis_canvas2.cpp
+1
-1
krita/ui/canvas/kis_canvas2.h
krita/ui/canvas/kis_canvas2.h
+1
-1
No files found.
krita/ui/canvas/kis_canvas2.cpp
View file @
f2ba928e
...
...
@@ -466,7 +466,7 @@ void KisCanvas2::resetCanvas(bool useOpenGL)
updateCanvasWidgetImpl
();
}
void
KisCanvas2
::
startUpdateInPatches
(
QRect
imageRect
)
void
KisCanvas2
::
startUpdateInPatches
(
const
QRect
&
imageRect
)
{
if
(
m_d
->
currentCanvasIsOpenGL
)
{
startUpdateCanvasProjection
(
imageRect
);
...
...
krita/ui/canvas/kis_canvas2.h
View file @
f2ba928e
...
...
@@ -202,7 +202,7 @@ public Q_SLOTS:
* Called whenever the display monitor profile resource changes
*/
void
slotSetDisplayProfile
(
const
KoColorProfile
*
profile
);
void
startUpdateInPatches
(
QRect
imageRect
);
void
startUpdateInPatches
(
const
QRect
&
imageRect
);
private
Q_SLOTS
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment