Commit 98a17c8c authored by hjk's avatar hjk Committed by Thomas Hartmann

QmlDesigner: Squash warning and undefined behavior

Change-Id: I84434ee52110d4a4d452c0343e1bfce570887976
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent f98220bf
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment