qt5base-lts/src/gui
Andy Shaw 9a3a3b641a Don't try to draw if there are no points in the path
In some cases, for instance if drawEllipse() was called with a null QRect
then it would still try to draw a QVectorPath without having enough points
in the list. Therefore the point_count should be checked first before
doing any drawing.

Change-Id: I9b8dbb87c73b74e9df9eb10ec790a484d05d4c46
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
2014-06-09 12:35:02 +02:00
..
accessible Accessibility Mac: Cache Accessible Elements and Notify about changes 2014-04-09 10:46:02 +02:00
animation Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
doc Update qtgui.qdoc regarding OpenGL 2014-04-09 10:47:09 +02:00
image Windows: Fix qt_imageFromWinHBITMAP(). 2014-05-23 22:18:30 +02:00
itemmodels Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
kernel Call doneCurrent on QOpenGLContext when the surface dies 2014-05-23 11:39:25 +02:00
math3d Revert some previously added constexpr in QVector?d classes 2014-03-10 16:04:28 +01:00
opengl Fix QOpenGLGlyphTexture object leak 2014-05-28 08:26:03 +02:00
painting Don't try to draw if there are no points in the path 2014-06-09 12:35:02 +02:00
text QTextLayout: Fix cursor position calculation for BiDi text 2014-05-12 10:26:14 +02:00
util Don't ignore horizontal alignment for items with baseline alignments 2014-02-14 10:51:44 +01:00
gui.pro deprecate import_qpa_plugin and qpa_minimal_plugin 2014-04-24 10:45:55 +02:00
Qt5GuiConfigExtras.cmake.in escape apostrophe 2014-05-23 11:39:25 +02:00
QtGui.dynlist Add dynlist file for QtGui 2013-03-18 17:11:04 +01:00