qt5base-lts/examples/widgets
Shawn Rutledge 76537c065a Avoid divide-by-zero in the gradients example
After 7a738daa97 we require
QLineF::setLength() to take a finite length, and this code was probably
always risky when HoverPoints has two points that are both 0,0.
It's probably a transient condition anyway.

Fixes: QTBUG-92908
Change-Id: If81122d2f78761026b0d656ceffe173132751317
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
2021-04-19 19:56:25 +02:00
..
animation CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
desktop CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
dialogs standarddialogs example: Fix font handling 2021-04-07 08:27:21 +02:00
doc Doc: Fix various documentation issues 2021-03-16 13:17:39 +01:00
draganddrop DropSite example: support markdown 2020-11-02 16:08:36 +01:00
effects CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
gallery CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
gestures CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
graphicsview CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
itemviews Fix Editable Tree Model example model rowCount and model instance leak 2021-03-29 12:09:41 +01:00
layouts CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
mainwindows Remove unnecessary int() casting in QRandomGenerator::bounded 2021-03-17 06:21:52 +00:00
painting Avoid divide-by-zero in the gradients example 2021-04-19 19:56:25 +02:00
qnx/foreignwindows Use QList instead of QVector in statemachine 2020-07-06 14:06:13 +02:00
richtext Support the markdown underline extension 2020-11-07 09:35:11 +01:00
scroller CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
tools Port example away from deprecated QVariant API 2021-04-16 16:49:29 +02:00
touch Port examples away from deprecated QTouchEvent APIs 2021-04-17 09:18:11 +02:00
tutorials CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
widgets Fix call to QMessageBox::information 2021-04-16 18:43:35 +02:00
windowcontainer CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
.prev_CMakeLists.txt CMake: Regenerate projects 2020-09-22 19:08:53 +02:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
widgets.pro Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00