qt5base-lts/examples
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
..
aggregate
corelib Brush up the mandelbrot example 2021-04-14 08:24:04 +02:00
dbus Remove QtDBus includes 2021-01-12 09:19:27 +01:00
embedded Remove unnecessary int() casting in QRandomGenerator::bounded 2021-03-17 06:21:52 +00:00
gui Doc: Fix documentation warnings for Qt OpenGL 2020-10-30 06:19:26 +01:00
network Remove unnecessary int() casting in QRandomGenerator::bounded 2021-03-17 06:21:52 +00:00
opengl CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
qmake Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qpa CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
qtconcurrent Improve the QtConcurrent ImageScaling example 2020-12-11 11:45:45 +01:00
qtestlib Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
sql CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
vulkan CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
widgets Avoid divide-by-zero in the gradients example 2021-04-19 19:56:25 +02:00
xml CMake: Regenerate examples to set the WIN32_EXECUTABLE property 2020-10-27 12:49:39 +01:00
CMakeLists.txt CMake: Regenerate examples 2020-07-09 09:38:28 +02:00
examples.pro Turn off the dbus examples for qmake-generated VS projects 2021-02-09 15:45:06 +01:00
README

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.