--- a/tools/shared/qtgradienteditor/qtgradientutils.cpp Fri Feb 19 23:40:16 2010 +0200
+++ b/tools/shared/qtgradienteditor/qtgradientutils.cpp Fri Mar 12 15:46:37 2010 +0200
@@ -395,7 +395,7 @@
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(")