summaryrefslogtreecommitdiffstats
path: root/tools/shared/qtgradienteditor/qtgradientutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/shared/qtgradienteditor/qtgradientutils.cpp')
-rw-r--r--tools/shared/qtgradienteditor/qtgradientutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared/qtgradienteditor/qtgradientutils.cpp b/tools/shared/qtgradienteditor/qtgradientutils.cpp
index 9fa0324..083ba89 100644
--- a/tools/shared/qtgradienteditor/qtgradientutils.cpp
+++ b/tools/shared/qtgradienteditor/qtgradientutils.cpp
@@ -395,7 +395,7 @@ static QStringList styleSheetParameters(const QGradient &gradient)
static QStringList styleSheetStops(const QGradient &gradient)
{
QStringList result;
- foreach (QGradientStop stop, gradient.stops()) {
+ foreach (const QGradientStop &stop, gradient.stops()) {
const QColor color = stop.second;
const QString stopDescription = QLatin1String("stop:") + QString::number(stop.first) + QLatin1String(" rgba(")