qt5base-lts/src
Christian Ehrlicher 12d8bb0709 ItemViews: Don't remove items on internal move
When an itemview only allows internal moving of items it can happen that
the target accepts the drag'n'drop operation since it's out of the
control of Qt (e.g. Recycle Bin or an other application). Due to the
nature of a move, the original item is deleted. Therefore check if the
internal move target is the same as the source and don't delete it
otherwse.

Fixes: QTBUG-86020
Pick-to: 6.0
Change-Id: I69de4b8d76d1b0f57338b402aee87580226cd6cb
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2021-01-18 19:51:07 +01:00
..
3rdparty Add "Q_UNUSED" to (3rdparty) strtod.cc for a 32 bit code path 2021-01-17 22:27:46 +01:00
android Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
concurrent Remove the qmake project files 2021-01-07 15:32:28 +01:00
corelib Correct string comparison in Android's IANA ID matching code 2021-01-18 15:55:15 +01:00
dbus Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
entrypoint QtEntryPoint: Fix linking Release against RelWithDebInfo with MSVC 2021-01-18 13:21:15 +01:00
gui QVectorND: make some constructors explicit 2021-01-18 14:53:24 +00:00
network Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
opengl Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
openglwidgets Document QOpenGLWidget limitations without an alpha channel 2021-01-15 15:21:28 +01:00
platformsupport Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
plugins eglfs: Use drmClose in drm/EGLDevice backend 2021-01-18 13:21:15 +01:00
printsupport Remove the qmake project files 2021-01-07 15:32:28 +01:00
sql QSql/QSqlite: return extended error codes by default 2021-01-11 19:55:43 +01:00
testlib QTestlib/JUnit XML: Log most messages to standard output instead of error output 2021-01-15 18:05:40 +01:00
tools Hardcode a special case of using qOverload for slots without arguments 2021-01-15 17:39:46 +01:00
widgets ItemViews: Don't remove items on internal move 2021-01-18 19:51:07 +01:00
xml Remove the qmake project files 2021-01-07 15:32:28 +01:00
CMakeLists.txt cmake: Remove indirection via Startup target for EntryPoint 2020-11-12 18:43:43 +01:00