QmlDesigner: Squash warning and undefined behavior

Change-Id: I84434ee52110d4a4d452c0343e1bfce570887976
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
hjk
2013-11-05 15:07:21 +01:00
committed by Thomas Hartmann
parent f98220bf31
commit 98a17c8c20

View File

@@ -213,6 +213,7 @@ QColor GradientModel::getColor(int index) const
}
}
qWarning() << Q_FUNC_INFO << "invalid color index";
return QColor();
}
qreal GradientModel::getPosition(int index) const