summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopengltexture.h
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals.cid@kdab.com>2019-10-04 10:13:27 +0200
committerAlbert Astals Cid <albert.astals.cid@kdab.com>2019-10-07 09:25:08 +0200
commit6236074318ef597baf9379f9c1afffdfeb57627b (patch)
treeb9644fe9f02c7f173212512169ed946f899be42f /src/gui/opengl/qopengltexture.h
parent2c4b44d7500be72b6eb74c4989e7311b3f924119 (diff)
QOpenGLTexture::setBorderColor: Pass QColor by const &
Change-Id: I97ced427691c5361bc7aa232892abf28423c5ee9 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/opengl/qopengltexture.h')
-rw-r--r--src/gui/opengl/qopengltexture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/opengl/qopengltexture.h b/src/gui/opengl/qopengltexture.h
index 7d984babc8..539b6aa7b2 100644
--- a/src/gui/opengl/qopengltexture.h
+++ b/src/gui/opengl/qopengltexture.h
@@ -621,7 +621,7 @@ public:
void setWrapMode(CoordinateDirection direction, WrapMode mode);
WrapMode wrapMode(CoordinateDirection direction) const;
- void setBorderColor(QColor color);
+ void setBorderColor(const QColor &color);
void setBorderColor(float r, float g, float b, float a);
void setBorderColor(int r, int g, int b, int a);
void setBorderColor(uint r, uint g, uint b, uint a);