Qt Declarative (Quick 2)
Go to file
Santhosh Kumar 6c36d341e0 Fix crash when dragging an invalid item in the header view
Dragging an invalid item in the header view leads to a crash. It's
better to safeguard before operating anything w.r.t. to the dragged
item.

This patch fixes that issue by validating the invalid item before
performing drag operation. Also added an test case to verify the same.

Fixes: QTBUG-127782
Pick-to: 6.8
Change-Id: I95398c7410d6fb6427ec06ff4b7da42472bc6d18
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Reviewed-by: MohammadHossein Qanbari <mohammad.qanbari@qt.io>
2024-08-09 20:22:32 +02:00
LICENSES Weather forecast example: Clean up assets and attribution 2024-02-06 13:44:41 +01:00
cmake Mark RegExpJitTables.h as non-module header 2023-04-03 15:38:57 +02:00
coin Change Axivion analysis result format 2024-06-28 13:40:35 +03:00
dist
examples Doc: Fix qdoc link warnings to Qt Creator docs 2024-08-08 09:25:38 +00:00
features
src Fix crash when dragging an invalid item in the header view 2024-08-09 20:22:32 +02:00
tests Fix crash when dragging an invalid item in the header view 2024-08-09 20:22:32 +02:00
tools qmlimportscanner: Extend ignored directories handling 2024-08-07 23:03:18 +02:00
.cmake.conf Port to std::(v)snprinf() and mark the module q(v)snprinf-free 2024-08-06 22:35:55 +00:00
.gitattributes
.gitignore gitignore: Add compile_commands.json and .ccache 2024-05-16 17:25:19 +02:00
.gitmodules
.tag
CMakeLists.txt Fix detection of CMake target ExamplesAssetDownloaderPrivate 2024-07-22 15:00:36 +02:00
README.md
configure.cmake Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
dependencies.yaml Update dependencies on 'dev' in qt/qtdeclarative 2024-08-09 08:27:06 +00:00
licenseRule.json Add a licenseRule.json file for checking of SPDX license identifiers 2024-07-01 16:33:02 +02:00
qt_cmdline.cmake Remove "2" from Qt Quick Controls directories 2022-12-01 10:26:20 +08:00
qtdeclarative.doxy